diff options
| author | Dan Engelbrecht <[email protected]> | 2026-04-02 09:58:42 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-02 09:58:42 +0200 |
| commit | b5fa9fd16fbaa1ceac95ff3a7f4c8e9f414ee525 (patch) | |
| tree | 87275c9383bea83f7e384a47b668fdea3d65b46f /src/zenutil/include | |
| parent | add provision button to hub ui (#915) (diff) | |
| download | zen-b5fa9fd16fbaa1ceac95ff3a7f4c8e9f414ee525.tar.xz zen-b5fa9fd16fbaa1ceac95ff3a7f4c8e9f414ee525.zip | |
s3 and consul fixes (#916)
* fix endpoint for stats/hub in compute/hub.html page
* fix api token call failure for imds (using wrong overload for Put)
* add "localhost" to healt check url in consul when no address is given
* add consul fallback deregister if normal deregister fails
* add consul registration unit test
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/consul.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/consul.h b/src/zenutil/include/zenutil/consul.h index f48e5b212..7517ddd1e 100644 --- a/src/zenutil/include/zenutil/consul.h +++ b/src/zenutil/include/zenutil/consul.h @@ -62,6 +62,7 @@ public: private: static bool FindServiceInJson(std::string_view Json, std::string_view ServiceId); void ApplyCommonHeaders(HttpClient::KeyValueMap& InOutHeaderMap); + std::string GetNodeName(); Configuration m_Config; HttpClient m_HttpClient; @@ -116,4 +117,6 @@ private: void RegistrationLoop(); }; +void consul_forcelink(); + } // namespace zen::consul |