diff --git a/pkg/transformer/kubernetes/kubernetes.go b/pkg/transformer/kubernetes/kubernetes.go index ba902740..24535a36 100644 --- a/pkg/transformer/kubernetes/kubernetes.go +++ b/pkg/transformer/kubernetes/kubernetes.go @@ -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) diff --git a/pkg/transformer/openshift/openshift.go b/pkg/transformer/openshift/openshift.go index 7867c4aa..7d0b3983 100644 --- a/pkg/transformer/openshift/openshift.go +++ b/pkg/transformer/openshift/openshift.go @@ -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} diff --git a/pkg/utils/docker/push.go b/pkg/utils/docker/push.go index 106a8709..c1a3af9c 100644 --- a/pkg/utils/docker/push.go +++ b/pkg/utils/docker/push.go @@ -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. */