You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mt...@apache.org on 2020/10/04 18:56:53 UTC
[nifi] branch main updated: rename onConfigured to OnEnabled to
make code more clear
This is an automated email from the ASF dual-hosted git repository.
mthomsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new be72dbb rename onConfigured to OnEnabled to make code more clear
be72dbb is described below
commit be72dbb8155709cad1d0c0141a960c5177c77041
Author: Ofirmgr <of...@gmail.com>
AuthorDate: Wed Sep 23 10:37:30 2020 +0000
rename onConfigured to OnEnabled to make code more clear
This closes #4547
Signed-off-by: Mike Thomsen <mt...@apache.org>
---
.../java/org/apache/nifi/controller/livy/LivySessionController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
index 44a1fd5..c546ef8 100644
--- a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
+++ b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
@@ -216,7 +216,7 @@ public class LivySessionController extends AbstractControllerService implements
}
@OnEnabled
- public void onConfigured(final ConfigurationContext context) {
+ public void onEnabled(final ConfigurationContext context) {
final String livyHost = context.getProperty(LIVY_HOST).evaluateAttributeExpressions().getValue();
final String livyPort = context.getProperty(LIVY_PORT).evaluateAttributeExpressions().getValue();
final String sessionPoolSize = context.getProperty(SESSION_POOL_SIZE).evaluateAttributeExpressions().getValue();