bobpaulin commented on code in PR #11872:
URL: https://github.com/apache/nifi/pull/11872#discussion_r4552809099


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/components/connector/MigrationFlowContext.java:
##########
@@ -104,9 +105,13 @@ public void updateFlow(final VersionedExternalFlow 
versionedExternalFlow, final
     }
 
     @Override
-    public void restoreTroubleshootingFlow(final VersionedProcessGroup 
troubleshootingProcessGroup) {
-        throw new IllegalStateException("restoreTroubleshootingFlow() cannot 
be called from MigratableConnector.migrateConfiguration() or migrateState();"
-                + " the migration context exposes a read-only view of the 
managed flow so that the framework remains the sole owner of"
-                + " installing the managed Process Group.");
+    public void restorePersistedFlow(final VersionedProcessGroup 
persistedFlow, final VersionedParameterContext parameterContext) {
+        throw new IllegalStateException("restorePersistedFlow() cannot be 
called from MigratableConnector.migrateConfiguration() or migrateState();"
+                + " the migration context exposes a read-only view of the 
managed flow so that the framework remains the sole owner of" + " installing 
the managed Process Group.");

Review Comment:
   Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to