Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Mar 30, 2023
1 parent 19599b1 commit 15d7f58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/startup_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func createStartupConfigVolumesAndMounts(s *srlinuxv1.Srlinux, pod *corev1.Pod,
}

// handleSrlinuxStartupConfig handles the startup config provisioning.
func (r *SrlinuxReconciler) handleSrlinuxStartupConfig(
func (r *SrlinuxReconciler) handleSrlinuxStartupConfig( //nolint:funlen
ctx context.Context,
log logr.Logger,
update *bool,
Expand Down Expand Up @@ -178,6 +178,7 @@ func createInitCheckpoint(
// resulting in several attempts to load configuration and create checkpoint
// so we need to check if the checkpoint already exists and bail out if so
checkCheckpointCmd := "info from state system configuration checkpoint *"

r, err := d.SendCommand(checkCheckpointCmd)
if err != nil {
log.Error(err, "failed to send command")
Expand Down

0 comments on commit 15d7f58

Please sign in to comment.