Skip to content

Commit

Permalink
IPROTO-393 proto-schema-compatibility-check remoteLockFiles compared …
Browse files Browse the repository at this point in the history
…in the wrong order
  • Loading branch information
ryanemerson authored and tristantarrant committed Oct 4, 2024
1 parent c24f33d commit 6443fef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void checkRemoteCompatibility(ProtoLock currentState) throws IOException
getLog().info(String.format("Checking backwards compatibility check against remote file '%s'", file));
try (InputStream is = new URL(file).openStream()) {
ProtoLock remoteLockFile = ProtoLock.readLockFile(is);
currentState.checkCompatibility(remoteLockFile, true);
remoteLockFile.checkCompatibility(currentState, true);
}
getLog().info(String.format("Backwards compatibility check against remote file '%s' passed", file));
}
Expand Down

0 comments on commit 6443fef

Please sign in to comment.