X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Fcli%2Fealt%2Fcmd%2Fappm%2Fcreate.go;h=a6912377cee4ed2cfd18dd4343cb6007e1bb0311;hb=caf01eef6ab04caccb08847930d2729794784b64;hp=5ea257d25882e9955611d928e28fab32f937d2c8;hpb=bc85833c9f544e8486e72a2c78472ef40a81ed23;p=ealt-edge.git diff --git a/ocd/cli/ealt/cmd/appm/create.go b/ocd/cli/ealt/cmd/appm/create.go index 5ea257d..a691237 100644 --- a/ocd/cli/ealt/cmd/appm/create.go +++ b/ocd/cli/ealt/cmd/appm/create.go @@ -28,8 +28,7 @@ func NewAppCreateCommand() *cobra.Command { Short: "To create the application on MEP Node", Long: `To create the application on MEP Node`, RunE: func(cmd *cobra.Command, args []string) error { - var theFlags []string - theFlags[0] = cmd.Flag("packagefile").Value.String() + theFlags := []string{cmd.Flag("packagefile").Value.String()} err := adapter.BuilderRequest(theFlags, "NewAppCreateCommand") if err != nil { return err