Skip to content

Commit

Permalink
WIP: Lets discuss
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Jan 25, 2025
1 parent 9db0200 commit 5713e6b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/code/src/com/suse/manager/hub/SyncController.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,17 @@ private String setManagerInfo(Request request, Response response, IssAccessToken
return badRequest(response, "Request failed");
}
SystemManager.updateMgrServerInfo(peripheralServer.get(), managerInfo);
/*
if (changed) {
try {
hubManager.setReportDbUser(null, peripheralServer.get(), false);
}
catch (CertificateException | IOException e) {
LOGGER.error(e.getMessage(), e);
return badRequest(response, "Request failed"); // ??? Maybe we do not need to fail?
}
}
*/
return success(response);
}

Expand Down

0 comments on commit 5713e6b

Please sign in to comment.