We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92531b2 commit 7a487f0Copy full SHA for 7a487f0
pkg/controller/apply.go
@@ -17,6 +17,9 @@ import (
17
18
// Apply sends the notification with notifier
19
func (ctrl *Controller) Apply(ctx context.Context, command Command) error {
20
+ if command.Cmd == "" {
21
+ return errors.New("no command specified")
22
+ }
23
if err := platform.Complement(&ctrl.Config); err != nil {
24
return err
25
}
pkg/controller/plan.go
@@ -18,6 +18,9 @@ import (
// Plan sends the notification with notifier
func (ctrl *Controller) Plan(ctx context.Context, command Command) error {
26
0 commit comments