Skip to content

Commit 27f1e25

Browse files
committedMar 18, 2025
Review comment
1 parent c3f2c4d commit 27f1e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎modules/hivemq-edge-module-plc4x/src/main/java/com/hivemq/edge/adapters/plc4x/impl/AbstractPlc4xAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ public void start(
145145
final Plc4xConnection<T> connection = createConnection();
146146
if(connection.isConnected()) {
147147
protocolAdapterState.setConnectionStatus(CONNECTED);
148+
this.connection = connection;
148149
output.startedSuccessfully();
149150
} else {
150151
protocolAdapterState.setConnectionStatus(ERROR);
151152
output.failStart(new Plc4xException("Unable to connect to device"), "Unable to connect to device");
152153
}
153154

154-
this.connection = connection;
155155
}
156156
}
157157
} else {

0 commit comments

Comments
 (0)