diff options
| author | Zousar Shaker <[email protected]> | 2025-02-27 01:27:34 -0700 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-02-27 09:27:34 +0100 |
| commit | 38a58059214bacc18c8a6406acf7f46c57f51e86 (patch) | |
| tree | d155436450c2c527ef87a31ca48d778ceabfb407 /src | |
| parent | Fix bug causing crash if large file was exact multiple of 256KB when using ze... (diff) | |
| download | zen-38a58059214bacc18c8a6406acf7f46c57f51e86.tar.xz zen-38a58059214bacc18c8a6406acf7f46c57f51e86.zip | |
Zs/auth bad function fix (#287)
* Describe fix in changelog
* remove JupiterClient::m_TokenProvider
---------
Co-authored-by: zousar <[email protected]>
Co-authored-by: Dan Engelbrecht <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenutil/include/zenutil/jupiter/jupiterclient.h | 11 | ||||
| -rw-r--r-- | src/zenutil/jupiter/jupiterclient.cpp | 1 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/zenutil/include/zenutil/jupiter/jupiterclient.h b/src/zenutil/include/zenutil/jupiter/jupiterclient.h index defe50edc..8a51bd60a 100644 --- a/src/zenutil/include/zenutil/jupiter/jupiterclient.h +++ b/src/zenutil/include/zenutil/jupiter/jupiterclient.h @@ -44,12 +44,11 @@ public: HttpClient& Client() { return m_HttpClient; } private: - LoggerRef m_Log; - const std::string m_DefaultDdcNamespace; - const std::string m_DefaultBlobStoreNamespace; - const std::string m_ComputeCluster; - std::function<HttpClientAccessToken()> m_TokenProvider; - HttpClient m_HttpClient; + LoggerRef m_Log; + const std::string m_DefaultDdcNamespace; + const std::string m_DefaultBlobStoreNamespace; + const std::string m_ComputeCluster; + HttpClient m_HttpClient; friend class JupiterSession; }; diff --git a/src/zenutil/jupiter/jupiterclient.cpp b/src/zenutil/jupiter/jupiterclient.cpp index 5e5da3750..dbac218a4 100644 --- a/src/zenutil/jupiter/jupiterclient.cpp +++ b/src/zenutil/jupiter/jupiterclient.cpp @@ -11,7 +11,6 @@ JupiterClient::JupiterClient(const JupiterClientOptions& Options, std::function< , m_DefaultDdcNamespace(Options.DdcNamespace) , m_DefaultBlobStoreNamespace(Options.BlobStoreNamespace) , m_ComputeCluster(Options.ComputeCluster) -, m_TokenProvider(std::move(TokenProvider)) , m_HttpClient(Options.ServiceUrl, HttpClientSettings{.ConnectTimeout = Options.ConnectTimeout, .Timeout = Options.Timeout, |