Skip to content

Commit

Permalink
pasta: print warnings by default
Browse files Browse the repository at this point in the history
New pasta versions do not print warnings by default. As such we should
print the output by default so that users will be aware of any potential
problems.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
  • Loading branch information
Luap99 committed Aug 26, 2024
1 parent 39475d6 commit 74444aa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libnetwork/pasta/pasta_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ func Setup(opts *SetupOptions) (*SetupResult, error) {
}

if len(out) > 0 {
// TODO: This should be warning but right now pasta still prints
// things with --quiet that we do not care about.
// For now info is fine and we can bump it up later, it is only a
// nice to have.
logrus.Infof("pasta logged warnings: %q", string(out))
logrus.Warnf("pasta logged warnings: %s", string(out))
}
break
}
Expand Down

0 comments on commit 74444aa

Please sign in to comment.