Files
odo/pkg/platform/errors.go
Philippe Martin 682e5176d2 [podman] show logs when command fails (#6481)
* Implement GetRunningPodFromSelector for podman

* Implement GetPodLogs for podman

* Same message in podman/cluster

* Integration tests

* Return stream of stdout/err
2023-01-16 10:52:07 -05:00

13 lines
273 B
Go

package platform
import "fmt"
// PodNotFoundError returns an error if no pod is found with the selector
type PodNotFoundError struct {
Selector string
}
func (e *PodNotFoundError) Error() string {
return fmt.Sprintf("pod not found for the selector: %s", e.Selector)
}