Skip to content

Commit

Permalink
Scopes ble utledet ut i fra cluster en var i og ikke clusteret til ap…
Browse files Browse the repository at this point in the history
…plikasjonen vi skal snakke med
  • Loading branch information
espenwaaga committed Apr 25, 2023
1 parent c5869e4 commit 2aaa3ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static String scopesFor(FpApplication application) {
if (CLUSTER.isLocal()) {
return "api://" + Cluster.VTP.clusterName() + "." + FORELDREPENGER.getName() + "." + Cluster.VTP.clusterName() + "/.default";
}
return "api://" + CLUSTER.clusterName() + "." + FORELDREPENGER.getName() + "." + application.name().toLowerCase() + "/.default";
return "api://" + getCluster(application).clusterName() + "." + FORELDREPENGER.getName() + "." + application.name().toLowerCase() + "/.default";
}

private static String contextPathProperty(FpApplication application) {
Expand Down

0 comments on commit 2aaa3ab

Please sign in to comment.