Commit cf741e0c authored by krousey's avatar krousey

Merge pull request #9393 from swagiaal/fix-function-name-in-doc

Fix createTestingNS function name in godoc
parents a7edbedc 28d501d3
...@@ -321,7 +321,7 @@ func waitForPersistentVolumePhase(phase api.PersistentVolumePhase, c *client.Cli ...@@ -321,7 +321,7 @@ func waitForPersistentVolumePhase(phase api.PersistentVolumePhase, c *client.Cli
return fmt.Errorf("PersistentVolume %s not in phase %s within %v", pvName, phase, timeout) return fmt.Errorf("PersistentVolume %s not in phase %s within %v", pvName, phase, timeout)
} }
// createNS should be used by every test, note that we append a common prefix to the provided test name. // createTestingNS should be used by every test, note that we append a common prefix to the provided test name.
// Please see NewFramework instead of using this directly. // Please see NewFramework instead of using this directly.
func createTestingNS(baseName string, c *client.Client) (*api.Namespace, error) { func createTestingNS(baseName string, c *client.Client) (*api.Namespace, error) {
namespaceObj := &api.Namespace{ namespaceObj := &api.Namespace{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment