Remove redundant strings.ToLower()

Removes the redundant strings.ToLower commands for GlobalProvider in
up.go, convert.go and down.go
This commit is contained in:
Charlie Drage
2017-09-06 13:41:56 -04:00
parent 36652f6d81
commit a930ce266f
3 changed files with 5 additions and 15 deletions
+1 -3
View File
@@ -17,8 +17,6 @@ limitations under the License.
package cmd
import (
"strings"
"github.com/kubernetes/kompose/pkg/app"
"github.com/kubernetes/kompose/pkg/kobject"
"github.com/spf13/cobra"
@@ -39,7 +37,7 @@ var downCmd = &cobra.Command{
// Create the Convert options.
DownOpt = kobject.ConvertOptions{
InputFiles: GlobalFiles,
Provider: strings.ToLower(GlobalProvider),
Provider: GlobalProvider,
Namespace: DownNamespace,
IsNamespaceFlag: cmd.Flags().Lookup("namespace").Changed,
}