Skip to content

Commit

Permalink
fix ci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
allthatjazzleo committed Nov 5, 2023
1 parent a1032b3 commit 8e40c80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func startManager(cmd *cobra.Command, args []string) error {
}
keyUsages := []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}
setupLog.Info("setting up cert rotation")
if err := rotator.AddRotator(mgr, &rotator.CertRotator{
if err = rotator.AddRotator(mgr, &rotator.CertRotator{
SecretKey: types.NamespacedName{
Namespace: kube.GetNamespace(),
Name: secretName,
Expand Down Expand Up @@ -242,7 +242,6 @@ func startManager(cmd *cobra.Command, args []string) error {
mgr.GetEventRecorderFor("pod-sidecar-injector"),
),
})

}()

//+kubebuilder:scaffold:builder
Expand Down

0 comments on commit 8e40c80

Please sign in to comment.