New 🌊 wave for @helm

Commit 1193b247

1193b2472931Merged

zhilyaev <[email protected]> · 5 years ago · 7 files · ~7 modified

Description

more helpful log

Details

Commit
1193b2472931
Parent
c52ed32cdc4f

pkg/action/build.gomodifiedView file

@@ -22,9 +22,12 @@
2222 return err
2323 }
2424
25+ // Show current plan
26+ newPlan.PrettyPlan()
27+
2528 oldPlan := plan.New(i.plandir)
2629 if oldPlan.IsExist() {
27- log.Info("Found old plan, try get changes")
30+ log.Info("🆚 diff with previous plan")
2831 if err = oldPlan.Import(); err != nil {
2932 return err
3033 }
@@ -38,7 +41,11 @@
3841 return err
3942 }
4043
41- log.Info("Planfile is ready!")
44+ log.WithField(
45+ "deploy it with next command",
46+ "helmwave deploy",
47+ ).Info("🏗 Planfile is ready!")
48+
4249 return nil
4350 }
4451