Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
cmd: Specify logs file location
Browse files Browse the repository at this point in the history
When user is running `lokoctl cluster apply/destroy` without verbose
flag `-v` then show user what is the location of log files.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Apr 22, 2020
1 parent 841a35f commit cf0720d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/terraform/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ func (ex *Executor) execute(verbose bool, args ...string) error {
wg.Add(1)

go tailFile(p, done, &wg)
} else {
fmt.Printf("\nYou can find the logs in %q\n", p)
}

wg.Wait()
Expand Down

0 comments on commit cf0720d

Please sign in to comment.