Skip to content

Commit

Permalink
APIGOV-23815 - update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Oct 19, 2022
1 parent bafab32 commit 76f917f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/agent/provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func NewAPIKeyCredentialRequestBuilder(options ...func(*crdBuilderOptions)) prov

// NewBasicAuthCredentialRequestBuilder - add basic auth base properties for provisioning schema
func NewBasicAuthCredentialRequestBuilder(options ...func(*crdBuilderOptions)) provisioning.CredentialRequestBuilder {
apiKeyOptions := []func(*crdBuilderOptions){
basicAuthOptions := []func(*crdBuilderOptions){
WithCRDName(provisioning.BasicAuthCRD),
WithCRDTitle("Basic Auth"),
WithCRDProvisionSchemaProperty(
Expand All @@ -405,9 +405,9 @@ func NewBasicAuthCredentialRequestBuilder(options ...func(*crdBuilderOptions)) p
IsEncrypted()),
}

apiKeyOptions = append(apiKeyOptions, options...)
basicAuthOptions = append(basicAuthOptions, options...)

return NewCredentialRequestBuilder(apiKeyOptions...)
return NewCredentialRequestBuilder(basicAuthOptions...)
}

// NewOAuthCredentialRequestBuilder - add oauth base properties for provisioning schema
Expand Down

0 comments on commit 76f917f

Please sign in to comment.