Skip to content

Commit

Permalink
fix: hide printing of the resulted json
Browse files Browse the repository at this point in the history
  • Loading branch information
reflog committed Jan 17, 2018
1 parent 459c3aa commit bc25740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ func main() {
}

def := ecs.RegisterTaskDefinitionInput{}
log.Printf(templatedBuf.String())
if *debug {
log.Printf("resulted json task: %v", templatedBuf.String())
}

err = json.Unmarshal(templatedBuf.Bytes(), &def)
logErrorAndFail(err)

Expand Down

0 comments on commit bc25740

Please sign in to comment.