Merge pull request #5972 from tenzen-y/ci-fix-wrong-document-of-functions

ci: fix function comments
This commit is contained in:
Sébastien Han authored and GitHub committed 2020-08-05 10:19:03 +02:00
commit 6c8f4e1ffc
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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)
}
+2 -2
View File
@@ -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)
}