typo fix
This commit is contained in:
Haoyun authored and GitHub committed 2018-04-03 16:21:28 +08:00
1 parent b141064ef4
commit d68f173917
1 file changed
+2 -2
+2 -2
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}