Skip to content

Commit 587adc9

Browse files
committed
fix formatting
Signed-off-by: Yannick Schlosser <yannick.schlosser@cgm.com>
1 parent b2c6476 commit 587adc9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cmd/provider/main.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ func main() {
218218
}
219219

220220
if *enableChangelogs {
221-
optionsCluster.Features.Enable(features.EnableAlphaChangeLogs)
222-
optionsNamespaced.Features.Enable(features.EnableAlphaChangeLogs)
223-
logr.Info("Alpha feature enabled", "flag", features.EnableAlphaChangeLogs)
221+
optionsCluster.Features.Enable(features.EnableAlphaChangeLogs)
222+
optionsNamespaced.Features.Enable(features.EnableAlphaChangeLogs)
223+
logr.Info("Alpha feature enabled", "flag", features.EnableAlphaChangeLogs)
224224

225225
conn, err := grpc.NewClient("unix://"+*changelogsSocketPath, grpc.WithTransportCredentials(insecure.NewCredentials()))
226226
kingpin.FatalIfError(err, "failed to create change logs client connection at %s", *changelogsSocketPath)
@@ -235,7 +235,6 @@ func main() {
235235

236236
}
237237

238-
239238
canSafeStart, err := canWatchCRD(context.TODO(), mgr)
240239
kingpin.FatalIfError(err, "SafeStart precheck failed")
241240
kingpin.FatalIfError(conversion.RegisterConversions(optionsCluster.Provider, optionsNamespaced.Provider, mgr.GetScheme()), "Cannot initialize the webhook conversion registry")

0 commit comments

Comments
 (0)