diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2949bd7a40..70d80a211d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: - 'v*' branches: - master - - quay-test jobs: release: diff --git a/controllers/sensor/controller.go b/controllers/sensor/controller.go index fc2bc86939..ebe31aaf4b 100644 --- a/controllers/sensor/controller.go +++ b/controllers/sensor/controller.go @@ -91,6 +91,7 @@ func (r *reconciler) reconcile(ctx context.Context, sensor *v1alpha1.Sensor) err err := ValidateSensor(sensor) if err != nil { log.Errorw("validation error", "error", err) + return err } args := &AdaptorArgs{ Image: r.sensorImage,