Skip to content

Commit

Permalink
fix: Remove some unnecessary error logs from AiProxyController (higre…
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO authored Feb 26, 2025
1 parent 4ac1378 commit 0a992d2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public void initialize() {
private void reloadServiceInfoFromK8s() {
try {
V1Secret secret = kubernetesClientService.readSecret(secretName);
if (secret == null) {
return;
}
Map<String, byte[]> data = secret.getData();
if (MapUtils.isEmpty(data)) {
log.warn("Secret {} is empty.", secretName);
return;
}
byte[] serviceUrlData = data.get(SERVICE_URL_KEY);
Expand Down

0 comments on commit 0a992d2

Please sign in to comment.