Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan1900 committed Sep 18, 2024
1 parent eb47c9e commit 266bf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/kms/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func NewGcpKms(config *encryptionpb.MasterKeyKms) (*GcpKms, error) {
}, nil
}

func (g *GcpKms) doJSONRequest(ctx context.Context, keyName, method string, data interface{}) ([]byte, error) {
func (g *GcpKms) doJSONRequest(ctx context.Context, keyName, method string, data any) ([]byte, error) {
url := g.formatCallURL(keyName, method)
jsonData, err := json.Marshal(data)
if err != nil {
Expand Down

0 comments on commit 266bf36

Please sign in to comment.