Skip to content

Commit 4c1ec24

Browse files
committed
update func name
1 parent cf8d98c commit 4c1ec24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/testcase/upgrademanual.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func TestUpgradeClusterManual(cluster *shared.Cluster, k8sClient *k8s.Client, ve
7272
return nil
7373
}
7474

75-
func rebootInstances(awsClient *aws.Client, ip string) {
75+
func rebootEc2Instance(awsClient *aws.Client, ip string) {
7676
serverInstanceID, getErr := awsClient.GetInstanceIDByIP(ip)
7777
Expect(getErr).NotTo(HaveOccurred())
7878
shared.LogLevel("debug", "Rebooting instance id: %s", serverInstanceID)
@@ -90,7 +90,7 @@ func upgradeProduct(awsClient *aws.Client, product, nodeType, installType, ip, n
9090
}
9191

9292
if nodeOS == "slemicro" {
93-
rebootInstances(awsClient, ip)
93+
rebootEc2Instance(awsClient, ip)
9494
}
9595

9696
actions := []shared.ServiceAction{

0 commit comments

Comments
 (0)