Skip to content

Commit

Permalink
SLLS-88 Force sync of connection storage when getting list of projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jblievremont committed Aug 4, 2022
1 parent c1071ea commit 27d5011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ public Map<String, String> getRemoteProjects(@Nullable String maybeConnectionId)
throw new IllegalArgumentException(String.format("No server configuration found with ID '%s'", connectionId));
}
var progress = new NoOpProgressFacade();
var engine = getOrCreateConnectedEngine(connectionId, serverConfiguration, false, progress)
var engine = getOrCreateConnectedEngine(connectionId, serverConfiguration, true, progress)
.orElseThrow(() -> new IllegalArgumentException(String.format("No connected engine found with ID '%s'", connectionId)));
try {
return engine.downloadAllProjects(serverConfiguration.getEndpointParams(), serverConfiguration.getHttpClient(), progress.asCoreMonitor())
Expand Down

0 comments on commit 27d5011

Please sign in to comment.