Skip to content

Commit

Permalink
operator: fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
joejulian committed Jan 5, 2023
1 parent 5d84451 commit 0432bb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/resources/certmanager/type_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ type apiCertificates struct {
clientCertificates []resources.Resource
rootResources []resources.Resource
tlsEnabled bool
internalTlsEnabled bool
internalTLSEnabled bool
// true if api is using our own generated self-signed issuer
selfSignedNodeCertificate bool

Expand Down Expand Up @@ -253,7 +253,7 @@ func (cc *ClusterCertificates) prepareAPI(
}
result := tlsEnabledAPICertificates(cc.pandaCluster.Namespace)
if internalTLSListener != nil {
result.internalTlsEnabled = true
result.internalTLSEnabled = true
}

// TODO(#3550): Do not create rootIssuer if nodeSecretRef is passed and mTLS is disabled
Expand Down Expand Up @@ -673,7 +673,7 @@ func (cc *ClusterCertificates) GetTLSConfig(

// KafkaClientBrokerTLS returns configuration to connect to kafka api with tls
func (cc *ClusterCertificates) KafkaClientBrokerTLS(mountPoints *resourcetypes.TLSMountPoints) *config.ServerTLS {
if !cc.kafkaAPI.internalTlsEnabled {
if !cc.kafkaAPI.internalTLSEnabled {
return nil
}
result := config.ServerTLS{
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (r *StatefulSetResource) Ensure(ctx context.Context) error {
return r.handleScaling(ctx)
}

// GetCentralizedConfigurationHashFromCluster retrieves the current centralized configuratino hash from the statefulset
// GetCentralizedConfigurationHashFromCluster retrieves the current centralized configuration hash from the statefulset
func (r *StatefulSetResource) GetCentralizedConfigurationHashFromCluster(
ctx context.Context,
) (string, error) {
Expand Down

0 comments on commit 0432bb3

Please sign in to comment.