Skip to content

Commit

Permalink
Fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Orner committed Jul 8, 2022
1 parent 028733c commit 74378f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/gdc/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: `
Expand Down
2 changes: 1 addition & 1 deletion gdc/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 74378f2

Please sign in to comment.