mirror of
https://github.com/docker/compose.git
synced 2026-08-31 06:49:15 +00:00
Merge pull request #1379 from aiordache/kube_hack
Kube backend updates from Hack days
This commit is contained in:
commit
b3025ca4fe
8 changed files with 272 additions and 40 deletions
|
|
@ -116,7 +116,7 @@ func runConvert(ctx context.Context, opts convertOptions, services []string) err
|
|||
}
|
||||
|
||||
var out io.Writer = os.Stdout
|
||||
if opts.Output != "" {
|
||||
if opts.Output != "" && len(json) > 0 {
|
||||
file, err := os.Create(opts.Output)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue