mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Build fix.
This commit is contained in:
parent
5e9710a26e
commit
1e79177ce2
@ -459,7 +459,7 @@ public:
|
|||||||
{
|
{
|
||||||
return Aws::Auth::AWSCredentials();
|
return Aws::Auth::AWSCredentials();
|
||||||
}
|
}
|
||||||
RefreshIfExpired();
|
refreshIfExpired();
|
||||||
Aws::Utils::Threading::ReaderLockGuard guard(m_reloadLock);
|
Aws::Utils::Threading::ReaderLockGuard guard(m_reloadLock);
|
||||||
return credentials;
|
return credentials;
|
||||||
}
|
}
|
||||||
@ -488,7 +488,7 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void RefreshIfExpired()
|
void refreshIfExpired()
|
||||||
{
|
{
|
||||||
Aws::Utils::Threading::ReaderLockGuard guard(m_reloadLock);
|
Aws::Utils::Threading::ReaderLockGuard guard(m_reloadLock);
|
||||||
if (!credentials.IsExpiredOrEmpty())
|
if (!credentials.IsExpiredOrEmpty())
|
||||||
|
Loading…
Reference in New Issue
Block a user