Skip to content

Commit

Permalink
Fix linting issues (#1753)
Browse files Browse the repository at this point in the history
  • Loading branch information
weseven authored Aug 20, 2024
1 parent 6027dc2 commit 45fdf07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/controller/key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func CertConfigCertOperatorVersion(cr v1alpha1.CertConfig) string {
func DNSIP(clusterIPRange string) (string, error) {
ip, _, err := net.ParseCIDR(clusterIPRange)
if err != nil {
return "", microerror.Maskf(invalidConfigError, err.Error()) //nolint:all
return "", microerror.Maskf(invalidConfigError, "%s", err.Error())
}

// Only IPV4 CIDRs are supported.
Expand Down
2 changes: 1 addition & 1 deletion service/internal/tenantclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (c *TenantClient) K8sClient(ctx context.Context, obj interface{}) (k8sclien

k8sClient, err = k8sclient.NewClients(c)
if err != nil {
return nil, microerror.Maskf(notAvailableError, err.Error()) //nolint:all
return nil, microerror.Maskf(notAvailableError, "%s", err.Error())
}
}

Expand Down

0 comments on commit 45fdf07

Please sign in to comment.