mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Fix stutters
Podman adds an Error: to every error message. So starting an error message with "error" ends up being reported to the user as Error: error ... This patch removes the stutter. Also ioutil.ReadFile errors report the Path, so wrapping the err message with the path causes a stutter. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -160,7 +160,7 @@ func detectCycles(graph *ContainerGraph) (bool, error) {
|
||||
// Popped item is no longer on the stack, mark as such
|
||||
topInfo, ok := nodes[topOfStack.id]
|
||||
if !ok {
|
||||
return false, fmt.Errorf("error finding node info for %s: %w", topOfStack.id, define.ErrInternal)
|
||||
return false, fmt.Errorf("finding node info for %s: %w", topOfStack.id, define.ErrInternal)
|
||||
}
|
||||
topInfo.onStack = false
|
||||
|
||||
|
Reference in New Issue
Block a user