Merge pull request #978 from hangyan/fix-typos

Fix typos in comments
This commit is contained in:
Charlie Drage
2018-04-03 12:29:39 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ var RootCmd = &cobra.Command{
Use: "kompose",
Short: "A tool helping Docker Compose users move to Kubernetes",
Long: `Kompose is a tool to help users who are familiar with docker-compose move to Kubernetes.`,
// PersitentPreRun will be "inherited" by all children and ran before *every* command unless
// PersistentPreRun will be "inherited" by all children and ran before *every* command unless
// the child has overridden the functionality. This functionality was implemented to check / modify
// all global flag calls regardless of app call.
PersistentPreRun: func(cmd *cobra.Command, args []string) {
+1 -1
View File
@@ -110,7 +110,7 @@ func checkUnsupportedKey(composeProject *project.Project) []string {
continue
}
}
//get yaml tag name instad of variable name
//get yaml tag name instead of variable name
yamlTagName := strings.Split(f.Tag("yaml"), ",")[0]
if f.Name() == "Networks" {
// networks always contains one default element, even it isn't declared in compose v2.