From 50d34cf629dae46f8cbe594084960d48fe2c2db7 Mon Sep 17 00:00:00 2001 From: Aliaksandr Panasiuk Date: Mon, 16 Dec 2024 11:24:46 +0100 Subject: [PATCH] #29 - refactoring --- providers/google_provider/gcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/google_provider/gcp.go b/providers/google_provider/gcp.go index 2dbedcb..87d8ce5 100644 --- a/providers/google_provider/gcp.go +++ b/providers/google_provider/gcp.go @@ -125,7 +125,7 @@ func (gcp *GCPConfigure) GetGCPSecrets(tenant string) (map[string][]byte, error) if err != nil { var respError *apierror.APIError if errors.As(err, &respError) && respError.GRPCStatus().Code().String() == gRPCErrorPermissionDenied { - zap.S().Warnf("permission denied to get access for GCP secrets values") + zap.S().Warnf("permission denied to get access to GCP secrets values") return nil, nil } else { return nil, err @@ -190,7 +190,7 @@ func (gcp *GCPConfigure) SetGCPSecret(tenant, region, keyName string, value []by if err != nil { var respError *apierror.APIError if errors.As(err, &respError) && respError.GRPCStatus().Code().String() == gRPCErrorPermissionDenied { - zap.S().Warnf("permission denied to add to secret %s value", keyName) + zap.S().Warnf("permission denied to add GCP secret %s value", keyName) } else { return err }