diff --git a/cmd/controller/main.go b/cmd/controller/main.go index f9f3aa0e1..5318e725e 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -45,6 +45,7 @@ func main() { mainLog.Info("kapp-controller", "version", Version) err := Run(ctrlOpts, log.WithName("controller")) + if err != nil { mainLog.Error(err, "Exited run with error") os.Exit(1) diff --git a/go.mod b/go.mod index c3de43749..9d8e093b1 100644 --- a/go.mod +++ b/go.mod @@ -124,7 +124,7 @@ require ( k8s.io/gengo v0.0.0-20211129171323-c02415ce4185 // indirect sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.37 // indirect sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect ) replace cloud.google.com/go => cloud.google.com/go v0.60.0