forked from LaconicNetwork/kompose
Make --dab global flag
This commit is contained in:
+3
-3
@@ -107,7 +107,7 @@ func validateFlags(opt kobject.ConvertOptions, singleOutput bool, dabFile, input
|
||||
// Convert transforms docker compose or dab file to k8s objects
|
||||
func Convert(c *cli.Context) {
|
||||
inputFile := c.GlobalString("file")
|
||||
dabFile := c.String("bundle")
|
||||
dabFile := c.GlobalString("bundle")
|
||||
outFile := c.String("out")
|
||||
generateYaml := c.BoolT("yaml")
|
||||
toStdout := c.BoolT("stdout")
|
||||
@@ -189,7 +189,7 @@ func Up(c *cli.Context) {
|
||||
client := client.NewOrDie(clientConfig)
|
||||
|
||||
inputFile := c.GlobalString("file")
|
||||
dabFile := c.String("bundle")
|
||||
dabFile := c.GlobalString("bundle")
|
||||
|
||||
komposeObject := kobject.KomposeObject{
|
||||
ServiceConfigs: make(map[string]kobject.ServiceConfig),
|
||||
@@ -239,7 +239,7 @@ func Down(c *cli.Context) {
|
||||
client := client.NewOrDie(clientConfig)
|
||||
|
||||
inputFile := c.GlobalString("file")
|
||||
dabFile := c.String("bundle")
|
||||
dabFile := c.GlobalString("bundle")
|
||||
|
||||
komposeObject := kobject.KomposeObject{
|
||||
ServiceConfigs: make(map[string]kobject.ServiceConfig),
|
||||
|
||||
Reference in New Issue
Block a user