Skip to content

Commit

Permalink
Add debug msg after running command in instance
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Jan 14, 2018
1 parent f330b35 commit 5637906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwd/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ func (p *pwd) SessionSetup(session *types.Session, sconf SessionSetupConf) error
var errch chan error
go func() {
exitCode, err := p.InstanceExec(i, cmd)
fmt.Printf("Finished execuing command [%s] on instance %s with code [%d] and err [%v]", cmd, i.Name, exitCode, err)

if err != nil {
errch <- err
}
Expand Down

0 comments on commit 5637906

Please sign in to comment.