cmd/root: Remove a redundant log message
The callers already provide this context before calling the function, and then when logging any errors, which they should. https://github.com/containers/toolbox/pull/1202
This commit is contained in:
parent
21ae296ad0
commit
6b8d5b032e
1 changed files with 0 additions and 2 deletions
|
@ -399,8 +399,6 @@ func validateSubIDFile(path string) (bool, error) {
|
||||||
panic("cannot validate sub-IDs inside container")
|
panic("cannot validate sub-IDs inside container")
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.Debugf("Validating sub-ID file %s", path)
|
|
||||||
|
|
||||||
file, err := os.Open(path)
|
file, err := os.Open(path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, fmt.Errorf("failed to open: %w", err)
|
return false, fmt.Errorf("failed to open: %w", err)
|
||||||
|
|
Loading…
Reference in a new issue