File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/aws-cpp-sdk-core/source/internal Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,6 @@ namespace Aws
198198 const char *endpoint) :
199199 AWSHttpResourceClient (clientConfiguration, EC2_METADATA_CLIENT_LOG_TAG),
200200 m_endpoint (endpoint),
201- // add disable imds to below
202201 m_disableIMDS (clientConfiguration.disableIMDS),
203202 m_tokenRequired (true ),
204203 m_disableIMDSV1 (clientConfiguration.disableImdsV1)
@@ -225,8 +224,7 @@ namespace Aws
225224 EC2_METADATA_CLIENT_LOG_TAG),
226225 m_endpoint (endpoint),
227226 m_disableIMDS (false ),
228- m_tokenRequired (true ),
229- m_disableIMDSV1 (false ) {
227+ m_tokenRequired (true ) {
230228#if defined(DISABLE_IMDSV1)
231229 m_disableIMDSV1 = true ;
232230 AWS_LOGSTREAM_TRACE (m_logtag.c_str (), " IMDSv1 had been disabled at the SDK build time" );
You can’t perform that action at this time.
0 commit comments