Skip to content

Commit

Permalink
*: clean up color log
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed Jun 1, 2020
1 parent c3b1c57 commit 36fb85b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ec2/ec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func New(cfg *ec2config.Config) (*Tester, error) {
co, cerr := terminal.IsColor()
if isColor {
lg.Info("output in color", zap.String("output", co), zap.Error(cerr))
colorstring.Printf("[light_green]HELLO COLOR\n")
colorstring.Printf("\n\n[light_green]HELLO COLOR\n\n")
} else {
lg.Warn("output in no color", zap.String("output", co), zap.Error(cerr))
isColor = false
Expand Down
2 changes: 1 addition & 1 deletion eks/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func New(cfg *eksconfig.Config) (ts *Tester, err error) {
co, cerr := terminal.IsColor()
if isColor {
lg.Info("output in color", zap.String("output", co), zap.Error(cerr))
colorstring.Printf("[light_green]HELLO COLOR\n")
colorstring.Printf("\n\n[light_green]HELLO COLOR\n\n")
} else {
lg.Warn("output in no color", zap.String("output", co), zap.Error(cerr))
isColor = false
Expand Down

0 comments on commit 36fb85b

Please sign in to comment.