clean code

This commit is contained in:
Tuna
2016-08-11 23:31:20 +07:00
parent e867d35e39
commit d532b29d95
6 changed files with 46 additions and 59 deletions
+2 -2
View File
@@ -449,7 +449,7 @@ func Convert(c *cli.Context) {
file = dabFile
}
//komposeObject.Loader(file, inputFormat)
// loader parses input from file into komposeObject.
switch inputFormat {
case "bundle":
komposeObject = loader.LoadBundle(file)
@@ -475,7 +475,7 @@ func Convert(c *cli.Context) {
validateFlags(opt, singleOutput, dabFile, inputFile)
// Convert komposeObject to K8S controllers
// transformer maps komposeObject to provider(K8S, OpenShift) primitives
mServices, mDeployments, mDaemonSets, mReplicationControllers, mDeploymentConfigs, svcnames := transformer.Transform(komposeObject, opt)
// Print output