You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.orElseThrow(() -> newRuntimeException("@EnableFlamingock annotation is mandatory. Please annotate a class with @EnableFlamingock to configure the pipeline."));
if (hasFileInAnnotation && hasStagesInAnnotation) {
228
-
thrownewRuntimeException("@EnableFlamingock annotation cannot have both configFile and stages configured. Choose one: either specify configFile OR stages.");
229
-
}
230
-
231
-
if (!hasFileInAnnotation && !hasStagesInAnnotation) {
232
-
thrownewRuntimeException("@EnableFlamingock annotation must specify either configFile OR stages configuration.");
233
-
}
234
-
235
-
// Validate stage type restrictions when using annotation-based configuration
if (hasFileInAnnotation && hasStagesInAnnotation) {
669
+
thrownewRuntimeException("@EnableFlamingock annotation cannot have both configFile and stages configured. Choose one: either specify configFile OR stages.");
670
+
}
671
+
672
+
if (!hasFileInAnnotation && !hasStagesInAnnotation) {
673
+
thrownewRuntimeException("@EnableFlamingock annotation must specify either configFile OR stages configuration.");
674
+
}
675
+
676
+
// Validate stage type restrictions when using annotation-based configuration
0 commit comments