fix non-constant format string and docker update

This commit is contained in:
Maycon Santos
2025-11-20 22:58:10 +01:00
parent 3f002cc808
commit 4d08cdb6da
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ func initPostureChecksTestData(postureChecks ...*posture.Checks) *postureChecksH
testPostureChecks[postureChecks.ID] = postureChecks
if err := postureChecks.Validate(); err != nil {
return nil, status.Errorf(status.InvalidArgument, err.Error()) //nolint
return nil, status.Errorf(status.InvalidArgument, "%s", err.Error()) //nolint
}
return postureChecks, nil