Merge pull request #981 from jonyhy96/patch-1

typo fix
This commit is contained in:
Charlie Drage 2018-04-04 11:08:40 -04:00 committed by GitHub
commit f671ca9377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -159,7 +159,7 @@ func (k *Kubernetes) InitSvc(name string, service kobject.ServiceConfig) *api.Se
return svc
}
// InitConfigMap initialized a ConfigMap object
// InitConfigMap initializes a ConfigMap object
func (k *Kubernetes) InitConfigMap(name string, service kobject.ServiceConfig, opt kobject.ConvertOptions, envFile string) *api.ConfigMap {
envs, err := GetEnvsFromFile(envFile, opt)

View File

@ -72,7 +72,7 @@ const TIMEOUT = 300
// by keeping record if already saw this key in another service
var unsupportedKey = map[string]bool{}
// initImageStream initialize ImageStream object
// initImageStream initializes ImageStream object
func (o *OpenShift) initImageStream(name string, service kobject.ServiceConfig, opt kobject.ConvertOptions) *imageapi.ImageStream {
// Retrieve tags and image name for mapping
@ -171,7 +171,7 @@ func initBuildConfig(name string, service kobject.ServiceConfig, repo string, br
return bc, nil
}
// initDeploymentConfig initialize OpenShifts DeploymentConfig object
// initDeploymentConfig initializes OpenShifts DeploymentConfig object
func (o *OpenShift) initDeploymentConfig(name string, service kobject.ServiceConfig, replicas int) *deployapi.DeploymentConfig {
containerName := []string{name}

View File

@ -30,7 +30,7 @@ type Push struct {
}
/*
PushImage push a Docker image via the Docker API. Takes the image name,
PushImage pushes a Docker image via the Docker API. Takes the image name,
parses the URL details and then push based on environment authentication
credentials.
*/