Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
  • Loading branch information
pjuarezd committed May 24, 2024
1 parent c92f9e3 commit e3dfd35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sidecar/pkg/sidecar/sidecar_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func NewSideCarController(kubeClient *kubernetes.Clientset, controllerClient *cl
if oldSecret.Name != secretName {
return
}
log.Println(fmt.Sprintf("Config secret '%s' sync", secretName))
log.Printf("Config secret '%s' sync", secretName)
newSecret := new.(*corev1.Secret)
if newSecret.ResourceVersion == oldSecret.ResourceVersion {
// Periodic resync will send update events for all known Tenants.
Expand Down Expand Up @@ -177,7 +177,7 @@ func NewSideCarController(kubeClient *kubernetes.Clientset, controllerClient *cl
if !strings.HasSuffix(dataStr, "\n") {
dataStr = dataStr + "\n"
}
c.regenCfgWithCfg(tenantName, namespace, string(data))
c.regenCfgWithCfg(tenantName, namespace, dataStr)
},
})

Expand Down

0 comments on commit e3dfd35

Please sign in to comment.