mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
bump golangci-lint to v1.50.1
Also fix a number of duplicate words. Yet disable the new `dupword` linter as it displays too many false positives. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -3451,7 +3451,7 @@ func (s *BoltState) RemoveContainerFromPod(pod *Pod, ctr *Container) error {
|
||||
return fmt.Errorf("pod %s is in namespace %q but we are in namespace %q: %w", pod.ID(), pod.config.Namespace, s.namespace, define.ErrNSMismatch)
|
||||
}
|
||||
if s.namespace != ctr.config.Namespace {
|
||||
return fmt.Errorf("container %s in in namespace %q but we are in namespace %q: %w", ctr.ID(), ctr.config.Namespace, s.namespace, define.ErrNSMismatch)
|
||||
return fmt.Errorf("container %s in namespace %q but we are in namespace %q: %w", ctr.ID(), ctr.config.Namespace, s.namespace, define.ErrNSMismatch)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user