Przeglądaj źródła

Remove redundant parameter type declaration

vijayjt 4 lat temu
rodzic
commit
7e47c70af2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      authority/provisioner/utils_test.go

+ 1 - 1
authority/provisioner/utils_test.go

@@ -994,7 +994,7 @@ func generateAWSToken(p *AWS, sub, iss, aud, accountID, instanceID, privateIP, r
 	return jose.Signed(sig).Claims(claims).CompactSerialize()
 	return jose.Signed(sig).Claims(claims).CompactSerialize()
 }
 }
 
 
-func generateAzureToken(sub, iss, aud, tenantID, subscriptionID, resourceGroup, resourceName string, resourceType string, iat time.Time, jwk *jose.JSONWebKey) (string, error) {
+func generateAzureToken(sub, iss, aud, tenantID, subscriptionID, resourceGroup, resourceName, resourceType string, iat time.Time, jwk *jose.JSONWebKey) (string, error) {
 	sig, err := jose.NewSigner(
 	sig, err := jose.NewSigner(
 		jose.SigningKey{Algorithm: jose.ES256, Key: jwk.Key},
 		jose.SigningKey{Algorithm: jose.ES256, Key: jwk.Key},
 		new(jose.SignerOptions).WithType("JWT").WithHeader("kid", jwk.KeyID),
 		new(jose.SignerOptions).WithType("JWT").WithHeader("kid", jwk.KeyID),