From 74378f24c548b9bdef7e5700428b8ef50849873f Mon Sep 17 00:00:00 2001 From: Daniel Orner Date: Fri, 8 Jul 2022 13:15:15 -0400 Subject: [PATCH] Fix logs --- cmd/gdc/commands/root.go | 2 +- gdc/docker.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gdc/commands/root.go b/cmd/gdc/commands/root.go index d2b033c..83c8e06 100644 --- a/cmd/gdc/commands/root.go +++ b/cmd/gdc/commands/root.go @@ -17,7 +17,7 @@ var ComposeFile string // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Version: "0.6.3", + Version: "0.6.4", Use: "global_docker_compose (command) --services service1 service2 --compose_file ../docker-compose.yml", Short: "Generate JSON files to use with the Flipp platform deploy scripts", Long: ` diff --git a/gdc/docker.go b/gdc/docker.go index 6d454a4..b662ca8 100644 --- a/gdc/docker.go +++ b/gdc/docker.go @@ -136,7 +136,7 @@ func Down(compose ComposeInfo, service string) { func Logs(compose ComposeInfo, service string) { var command string; if service != "" { - command = fmt.Sprintf("logs %s", service) + command = service } else { command = serviceString(compose, "logs") }