Skip to content

Commit f13ef07

Browse files
committed
fix merge conflict
1 parent a085086 commit f13ef07

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

cmd/installer/cli/install.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ func initializeInstall(ctx context.Context, flags InstallCmdFlags, rc runtimecon
779779

780780
func installAndStartCluster(ctx context.Context, flags InstallCmdFlags, rc runtimeconfig.RuntimeConfig, mutate func(*k0sv1beta1.ClusterConfig) error) (*k0sv1beta1.ClusterConfig, error) {
781781
loading := spinner.Start()
782-
loading.Infof("Installing node")
782+
loading.Infof("Installing runtime")
783783
logrus.Debugf("creating k0s configuration file")
784784

785785
eucfg, err := helpers.ParseEndUserConfig(flags.overrides)
@@ -789,36 +789,36 @@ func installAndStartCluster(ctx context.Context, flags InstallCmdFlags, rc runti
789789

790790
cfg, err := k0s.WriteK0sConfig(ctx, flags.networkInterface, flags.airgapBundle, rc.PodCIDR(), rc.ServiceCIDR(), eucfg, mutate)
791791
if err != nil {
792-
loading.ErrorClosef("Failed to install node")
792+
loading.ErrorClosef("Failed to install runtime")
793793
return nil, fmt.Errorf("create config file: %w", err)
794794
}
795795

796796
logrus.Debugf("creating systemd unit files")
797797
if err := hostutils.CreateSystemdUnitFiles(ctx, logrus.StandardLogger(), rc, false); err != nil {
798-
loading.ErrorClosef("Failed to install node")
798+
loading.ErrorClosef("Failed to install runtime")
799799
return nil, fmt.Errorf("create systemd unit files: %w", err)
800800
}
801801

802802
logrus.Debugf("installing k0s")
803803
if err := k0s.Install(rc); err != nil {
804-
loading.ErrorClosef("Failed to install node")
804+
loading.ErrorClosef("Failed to install runtime")
805805
return nil, fmt.Errorf("install cluster: %w", err)
806806
}
807807

808808
logrus.Debugf("waiting for k0s to be ready")
809809
if err := k0s.WaitForK0s(); err != nil {
810-
loading.ErrorClosef("Failed to install node")
810+
loading.ErrorClosef("Failed to install runtime")
811811
return nil, fmt.Errorf("wait for k0s: %w", err)
812812
}
813813

814-
loading.Infof("Waiting for node")
815-
logrus.Debugf("waiting for node to be ready")
814+
loading.Infof("Waiting for runtime")
815+
logrus.Debugf("waiting for runtime to be ready")
816816
if err := waitForNode(ctx); err != nil {
817-
loading.ErrorClosef("Node failed to become ready")
818-
return nil, fmt.Errorf("wait for node: %w", err)
817+
loading.ErrorClosef("Runtime failed to become ready")
818+
return nil, fmt.Errorf("wait for runtime: %w", err)
819819
}
820820

821-
loading.Closef("Node is ready")
821+
loading.Closef("Runtime is ready")
822822
return cfg, nil
823823
}
824824

@@ -834,7 +834,7 @@ func installAddons(ctx context.Context, kcli client.Client, mcli metadata.Interf
834834
loading = spinner.Start()
835835
loading.Infof("Installing %s", progress.Name)
836836
case apitypes.StateSucceeded:
837-
loading.Closef("%s is ready", progress.Name)
837+
loading.Closef("%s is ready", strings.ToUpper(progress.Name[:1])+progress.Name[1:])
838838
case apitypes.StateFailed:
839839
loading.ErrorClosef("Failed to install %s", progress.Name)
840840
}

e2e/scripts/restore-installation-airgap.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ expect {
9292
}
9393

9494
expect {
95-
-timeout 300 "Disaster Recovery is ready" {}
95+
-timeout 300 "Disaster recovery is ready" {}
9696
timeout {
9797
puts "\n\nFailed to wait for Disaster Recovery to be ready."
9898
exit 1

e2e/scripts/restore-installation.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ expect {
9292
}
9393

9494
expect {
95-
-timeout 300 "Disaster Recovery is ready" {}
95+
-timeout 300 "Disaster recovery is ready" {}
9696
timeout {
9797
puts "\n\nFailed to wait for Disaster Recovery to be ready."
9898
exit 1

e2e/scripts/restore-multi-node-airgap-phase1.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ expect {
8080
}
8181

8282
expect {
83-
-timeout 300 "Disaster Recovery is ready" {}
83+
-timeout 300 "Disaster recovery is ready" {}
8484
timeout {
8585
puts "\n\nFailed to wait for Disaster Recovery to be ready."
8686
exit 1

e2e/scripts/restore-multi-node-phase1.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ expect {
8080
}
8181

8282
expect {
83-
-timeout 300 "Disaster Recovery is ready" {}
83+
-timeout 300 "Disaster recovery is ready" {}
8484
timeout {
8585
puts "\n\nFailed to wait for Disaster Recovery to be ready."
8686
exit 1

e2e/scripts/resume-restore.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ expect {
113113
}
114114

115115
expect {
116-
-timeout 300 "Disaster Recovery is ready" {}
116+
-timeout 300 "Disaster recovery is ready" {}
117117
timeout {
118118
puts "\n\nFailed to wait for Disaster Recovery to be ready."
119119
exit 1

0 commit comments

Comments
 (0)