mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #9393 from swagiaal/fix-function-name-in-doc
Fix createTestingNS function name in godoc
This commit is contained in:
commit
cf741e0c19
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user