diff --git a/cmd/root.go b/cmd/root.go index eba454e1..005d28f6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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) { diff --git a/pkg/loader/compose/compose.go b/pkg/loader/compose/compose.go index e019c110..467c26b4 100644 --- a/pkg/loader/compose/compose.go +++ b/pkg/loader/compose/compose.go @@ -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.