mirror of
https://github.com/rancher/rke.git
synced 2025-09-02 23:44:32 +00:00
fix golint
This commit is contained in:
committed by
Alena Prokharchyk
parent
34272b8db1
commit
d618819f32
@@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
WorkerThreads = 50
|
WorkerThreads = 50
|
||||||
// this should be kept at the latest version of rke released with
|
// SupportedSyncToolsVersion this should be kept at the latest version of rke released with
|
||||||
// rancher 2.2.0.
|
// rancher 2.2.0.
|
||||||
SupportedSyncToolsVersion = "0.1.25"
|
SupportedSyncToolsVersion = "0.1.25"
|
||||||
)
|
)
|
||||||
@@ -116,7 +116,7 @@ func GetDefaultRKETools() string {
|
|||||||
return v3.AllK8sVersions[v3.DefaultK8s].Alpine
|
return v3.AllK8sVersions[v3.DefaultK8s].Alpine
|
||||||
}
|
}
|
||||||
|
|
||||||
// with rancher 2.2.0 and rke 0.2.0, etcdbackup was completely refactored
|
// IsRancherBackupSupported with rancher 2.2.0 and rke 0.2.0, etcdbackup was completely refactored
|
||||||
// and the interface for the rke-tools backup command changed significantly.
|
// and the interface for the rke-tools backup command changed significantly.
|
||||||
// This function is used to check the the release rke-tools version to choose
|
// This function is used to check the the release rke-tools version to choose
|
||||||
// between the new backup or the legacy backup code paths.
|
// between the new backup or the legacy backup code paths.
|
||||||
|
Reference in New Issue
Block a user