Add missing print directive, fix go.mod

This commit is contained in:
Frederik Ring
2022-02-23 10:12:57 +01:00
parent 2a17e84ab6
commit 9155b4d130
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ func (s *script) runLabeledCommands(label string) error {
Filters: filters.NewArgs(f...),
})
if err != nil {
return fmt.Errorf("runLabeledCommands: error querying for containers", err)
return fmt.Errorf("runLabeledCommands: error querying for containers: %w", err)
}
if len(containersWithCommand) == 0 {