fix merge

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga 2024-09-26 19:00:59 +03:00
parent f61c914fd7
commit 73be8c8a32
No known key found for this signature in database
GPG Key ID: 511EED5C928AD547
2 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ func (am *DefaultAccountManager) SavePolicy(ctx context.Context, accountID, user
return err return err
} }
postureChecks, err := am.Store.GetAccountPostureChecks(ctx, accountID) postureChecks, err := am.Store.GetAccountPostureChecks(ctx, LockingStrengthShare, accountID)
if err != nil { if err != nil {
return err return err
} }

View File

@ -142,7 +142,7 @@ func (am *DefaultAccountManager) ListPostureChecks(ctx context.Context, accountI
// isPostureCheckLinkedToPolicy checks whether the posture check is linked to any account policy. // isPostureCheckLinkedToPolicy checks whether the posture check is linked to any account policy.
func (am *DefaultAccountManager) isPostureCheckLinkedToPolicy(ctx context.Context, postureChecksID, accountID string) error { func (am *DefaultAccountManager) isPostureCheckLinkedToPolicy(ctx context.Context, postureChecksID, accountID string) error {
policies, err := am.Store.GetAccountPolicies(ctx, accountID) policies, err := am.Store.GetAccountPolicies(ctx, LockingStrengthShare, accountID)
if err != nil { if err != nil {
return err return err
} }