Skip to content

Commit 91b10ee

Browse files
committed
lint fix
1 parent 4cc29fc commit 91b10ee

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

pkg/testcase/upgrademanual.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ func TestUpgradeClusterManual(cluster *shared.Cluster, k8sClient *k8s.Client, ve
6767
return nil
6868
}
6969

70-
// nodeType can be server or agent
71-
// installType can be version or commit
70+
// nodeType can be server or agent.
71+
// installType can be version or commit.
7272
func runUpgradeCommand(cluster *shared.Cluster, nodeType, installType, ip string) error {
7373
upgradeCommand := shared.GetInstallCmd(cluster, installType, nodeType)
7474
shared.LogLevel("info", "Upgrading %s %s: %s", ip, nodeType, upgradeCommand)

shared/product.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ func SecretEncryptOps(action, ip, product string) (string, error) {
109109
return secretsEncryptStdOut, nil
110110
}
111111

112+
// installType is version or commit.
113+
// nodeType is server or agent.
112114
func GetInstallCmd(cluster *Cluster, installType, nodeType string) string {
113115
var installFlag string
114116
var installCmd string

0 commit comments

Comments
 (0)