Skip to content

Commit

Permalink
eks: improve logging
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Aug 15, 2019
1 parent 3931b63 commit 207bcff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eks/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func (md *embedded) down() (err error) {
}
}

md.lg.Info("Down", zap.String("cluster-name", md.cfg.ClusterName))
md.lg.Info("starting Down", zap.String("cluster-name", md.cfg.ClusterName))
var errs []string
if err = md.deleteWorkerNode(); err != nil {
md.lg.Warn("failed to delete node group stack", zap.Error(err))
Expand All @@ -512,7 +512,7 @@ func (md *embedded) down() (err error) {
errs = append(errs, err.Error())
}

md.lg.Info("Down finished",
md.lg.Info("finished Down",
zap.String("cluster-name", md.cfg.ClusterName),
zap.String("request-started", humanize.RelTime(now, time.Now().UTC(), "ago", "from now")),
)
Expand Down

0 comments on commit 207bcff

Please sign in to comment.