Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
mitalipaygude committed Jan 23, 2024
1 parent 4af2eef commit 0528213
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/clustermanager/eksa_installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func WithEKSAInstallerNoTimeouts() EKSAInstallerOpt {

// Install configures and applies eks-a components in a cluster accordingly to a spec.
func (i *EKSAInstaller) Install(ctx context.Context, log logr.Logger, cluster *types.Cluster, spec *cluster.Spec) error {

err := i.createEKSAComponents(ctx, log, cluster, spec)
if err != nil {
return fmt.Errorf("applying EKSA components: %v", err)
Expand Down Expand Up @@ -129,6 +128,7 @@ func (i *EKSAInstaller) createEKSAComponents(ctx context.Context, log logr.Logge

return nil
}

// applyBundles applies the bundles to the cluster.
func (i *EKSAInstaller) applyBundles(ctx context.Context, log logr.Logger, cluster *types.Cluster, spec *cluster.Spec) error {
bundleObj, err := yaml.Marshal(spec.Bundles)
Expand Down
1 change: 0 additions & 1 deletion pkg/workflows/management/create_install_eksa.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ func (s *installEksaComponentsOnBootstrapTask) Checkpoint() *task.CompletedTask
}

func installEKSAComponents(ctx context.Context, commandContext *task.CommandContext, targetCluster *types.Cluster) error {

logger.Info("Installing EKS-D components")
err := commandContext.EksdInstaller.InstallEksdCRDs(ctx, commandContext.ClusterSpec, targetCluster)
if err != nil {
Expand Down

0 comments on commit 0528213

Please sign in to comment.