Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Feb 8, 2024
1 parent 348ee1c commit aa6d14e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrapper/cmd/bootstrapper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ func main() {
metadata, err := azurecloud.New(ctx)
if err != nil {
log.With(slog.Any("error", err)).Error("Failed to create Azure metadata client")
os.Exit(1)
os.Exit(1)
}

if err := metadata.PrepareControlPlaneNode(ctx, log); err != nil {
log.With(slog.Any("error", err)).Error("Failed to prepare Azure control plane node")
os.Exit(1)
os.Exit(1)
}

metadataAPI = metadata
Expand Down Expand Up @@ -151,7 +151,7 @@ func main() {
metadata, err := openstackcloud.New(ctx)
if err != nil {
log.With(slog.Any("error", err)).Error("Failed to create OpenStack metadata client")
os.Exit(1);
os.Exit(1)
}
clusterInitJoiner = kubernetes.New(
"openstack", k8sapi.NewKubernetesUtil(), &k8sapi.KubdeadmConfiguration{}, kubectl.NewUninitialized(),
Expand Down

0 comments on commit aa6d14e

Please sign in to comment.