Skip to content

Commit

Permalink
[#4065] fix loaded variable not assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
bigDouble46 authored Dec 2, 2023
1 parent 76854ff commit 29500ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class AKSKAuthHeaderProvider implements AuthHeaderProvider {

private boolean enabled;

private final boolean loaded = false;
private boolean loaded = false;

public AKSKAuthHeaderProvider() {
this(ConfigUtil.createLocalConfig());
Expand Down Expand Up @@ -103,6 +103,7 @@ private synchronized void load() {
headers.put(X_SERVICE_AK, getAccessKey());
headers.put(X_SERVICE_SHAAKSK, getSecretKey());
headers.put(X_SERVICE_PROJECT, getProject());
loaded = true;
}
}

Expand Down

0 comments on commit 29500ff

Please sign in to comment.