mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
pkg/nfd-master: fix linter errors in tests
This commit is contained in:
parent
f1f79575fe
commit
0b386981a6
1 changed files with 2 additions and 2 deletions
|
@ -520,9 +520,9 @@ func jsonPatchMatcher(expected []apihelper.JsonPatch) func([]apihelper.JsonPatch
|
|||
// We parse the cryptic string message for better readability
|
||||
var f assertions.FailureView
|
||||
if err := yaml.Unmarshal([]byte(msg), &f); err == nil {
|
||||
Printf("%s\n", f.Message)
|
||||
_, _ = Printf("%s\n", f.Message)
|
||||
} else {
|
||||
Printf("%s\n", msg)
|
||||
_, _ = Printf("%s\n", msg)
|
||||
}
|
||||
}
|
||||
return ok
|
||||
|
|
Loading…
Reference in a new issue