Skip to content

Commit

Permalink
refactor: refine naming
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Sep 20, 2024
1 parent 7169c8a commit 873762d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/dbconfig/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ func (c *StorageConfig) configureGCS(namespace string, gcs *v1alpha1.GCSStorage)
return err
}

serviceAccount := data[0]
if len(serviceAccount) != 0 {
c.StorageCredential = pointer.String(base64.StdEncoding.EncodeToString(serviceAccount))
serviceAccountKey := data[0]
if len(serviceAccountKey) != 0 {
c.StorageCredential = pointer.String(base64.StdEncoding.EncodeToString(serviceAccountKey))
}
}

Expand Down

0 comments on commit 873762d

Please sign in to comment.