Skip to content

Commit

Permalink
feat(cloud-provisioning): Updates ProvisionCertificate function to ma…
Browse files Browse the repository at this point in the history
…tch Connector interface
  • Loading branch information
rvelaVenafi committed May 24, 2024
1 parent 90a761d commit bb03b77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/venafi/fake/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Connector struct {
verbose bool
}

func (c *Connector) ProvisionCertificate(req *domain.ProvisioningRequest, options *domain.ProvisioningOptions) (provisioningMetadata domain.ProvisioningMetadata, err error) {
func (c *Connector) ProvisionCertificate(_ *domain.ProvisioningRequest, _ *domain.ProvisioningOptions) (*domain.ProvisioningMetadata, error) {
panic("operation is not supported yet")
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/venafi/firefly/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func (c *Connector) RetrieveSSHCertificate(_ *certificate.SshCertRequest) (respo
panic("operation is not supported yet")
}

func (c *Connector) ProvisionCertificate(req *domain.ProvisioningRequest, options *domain.ProvisioningOptions) (provisioningMetadata domain.ProvisioningMetadata, err error) {
func (c *Connector) ProvisionCertificate(_ *domain.ProvisioningRequest, _ *domain.ProvisioningOptions) (*domain.ProvisioningMetadata, error) {
panic("operation is not supported yet")
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/venafi/tpp/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ func (c *Connector) RetrieveSSHCertificate(req *certificate.SshCertRequest) (res
return RetrieveSshCertificate(c, req)
}

func (c *Connector) ProvisionCertificate(req *domain.ProvisioningRequest, options *domain.ProvisioningOptions) (provisioningMetadata domain.ProvisioningMetadata, err error) {
func (c *Connector) ProvisionCertificate(_ *domain.ProvisioningRequest, _ *domain.ProvisioningOptions) (*domain.ProvisioningMetadata, error) {
panic("operation is not supported yet")
}

Expand Down

0 comments on commit bb03b77

Please sign in to comment.