This commit is contained in:
Bethuel Mmbaga
2024-08-14 13:30:10 +03:00
committed by GitHub
parent 181dd93695
commit 6016d2f7ce
11 changed files with 28 additions and 24 deletions

View File

@@ -60,7 +60,7 @@ func (am *DefaultAccountManager) SavePostureChecks(ctx context.Context, accountI
}
if err := postureChecks.Validate(); err != nil {
return status.Errorf(status.InvalidArgument, err.Error())
return status.Errorf(status.InvalidArgument, err.Error()) //nolint
}
exists, uniqName := am.savePostureChecks(account, postureChecks)