fix some typos

This commit is contained in:
SataQiu 2018-10-12 17:44:19 +08:00
parent 88e50c9c99
commit e1d5b97f3f
10 changed files with 25 additions and 25 deletions

View File

@ -1084,7 +1084,7 @@ def enable_gpu():
if get_version('kubelet') < (1, 9): if get_version('kubelet') < (1, 9):
hookenv.status_set( hookenv.status_set(
'active', 'active',
'Upgrade to snap channel >= 1.9/stable to enable GPU suppport.' 'Upgrade to snap channel >= 1.9/stable to enable GPU support.'
) )
return return

View File

@ -114,7 +114,7 @@ func TestSampleAPIServer(f *framework.Framework, image string) {
} }
// kubectl create -f namespace.yaml // kubectl create -f namespace.yaml
// NOTE: aggregated apis should generally be set up in there own namespace. As the test framework is setting up a new namespace, we are just using that. // NOTE: aggregated apis should generally be set up in their own namespace. As the test framework is setting up a new namespace, we are just using that.
// kubectl create -f secret.yaml // kubectl create -f secret.yaml
secretName := "sample-apiserver-secret" secretName := "sample-apiserver-secret"
@ -297,7 +297,7 @@ func TestSampleAPIServer(f *framework.Framework, image string) {
// Wait for the extension apiserver to be up and healthy // Wait for the extension apiserver to be up and healthy
// kubectl get deployments -n <aggregated-api-namespace> && status == Running // kubectl get deployments -n <aggregated-api-namespace> && status == Running
// NOTE: aggregated apis should generally be set up in there own namespace (<aggregated-api-namespace>). As the test framework // NOTE: aggregated apis should generally be set up in their own namespace (<aggregated-api-namespace>). As the test framework
// is setting up a new namespace, we are just using that. // is setting up a new namespace, we are just using that.
err = framework.WaitForDeploymentComplete(client, deployment) err = framework.WaitForDeploymentComplete(client, deployment)
framework.ExpectNoError(err, "deploying extension apiserver in namespace %s", namespace) framework.ExpectNoError(err, "deploying extension apiserver in namespace %s", namespace)

View File

@ -1796,7 +1796,7 @@ func WaitForEndpoint(c clientset.Interface, ns, name string) error {
} }
// Context for checking pods responses by issuing GETs to them (via the API // Context for checking pods responses by issuing GETs to them (via the API
// proxy) and verifying that they answer with there own pod name. // proxy) and verifying that they answer with their own pod name.
type podProxyResponseChecker struct { type podProxyResponseChecker struct {
c clientset.Interface c clientset.Interface
ns string ns string