Merge pull request #5972 from tenzen-y/ci-fix-wrong-document-of-functions
ci: fix function comments
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -162,7 +162,7 @@ func StartTestCluster(t func() *testing.T, cluster *TestCluster) (*TestCluster,
|
||||
return cluster, kh
|
||||
}
|
||||
|
||||
// SetUpRook is a wrapper for setting up rook
|
||||
// Setup is a wrapper for setting up rook
|
||||
func (op *TestCluster) Setup() {
|
||||
// Turn on DEBUG logging
|
||||
capnslog.SetGlobalLogLevel(capnslog.DEBUG)
|
||||
@@ -183,7 +183,7 @@ func (op *TestCluster) Setup() {
|
||||
// SetInstallData updates the installer helper based on the version of Rook desired
|
||||
func (op *TestCluster) SetInstallData(version string) {}
|
||||
|
||||
// TearDownRook is a wrapper for tearDown after Suite
|
||||
// Teardown is a wrapper for tearDown after Suite
|
||||
func (op *TestCluster) Teardown() {
|
||||
op.installer.UninstallRook(op.namespace)
|
||||
}
|
||||
@@ -152,7 +152,7 @@ func NewMCTestOperations(t func() *testing.T, namespace1 string, namespace2 stri
|
||||
return op, kh
|
||||
}
|
||||
|
||||
// SetUpRook is wrapper for setting up multiple rook clusters.
|
||||
// Setup is wrapper for setting up multiple rook clusters.
|
||||
func (o MCTestOperations) Setup() {
|
||||
var err error
|
||||
if o.testOverPVC {
|
||||
@@ -187,7 +187,7 @@ func (o MCTestOperations) Setup() {
|
||||
logger.Infof("finished starting clusters")
|
||||
}
|
||||
|
||||
// TearDownRook is a wrapper for tearDown after suite
|
||||
// Teardown is a wrapper for tearDown after suite
|
||||
func (o MCTestOperations) Teardown() {
|
||||
o.installer.UninstallRookFromMultipleNS(installer.SystemNamespace(o.namespace1), o.namespace1, o.namespace2)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user