You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our IMDS client only allows the user to config the numRetries as opposed to the entire retryStrategy and does not allow the user to specify the protocolVersion. CRT also supports falling back to V1 if V2 does not work, but currently protocolVersion is hardcoded to V2.
Describe the feature
Currently our IMDS client only allows the user to config the
numRetries
as opposed to the entireretryStrategy
and does not allow the user to specify theprotocolVersion
. CRT also supports falling back to V1 if V2 does not work, but currentlyprotocolVersion
is hardcoded to V2.This relates to the following comment:
// TODO: support more config options that are required to be supported when the CRT adds the ability to pass them down.
Use Case
We should allow the user to configure the IMDS Client with all available features supported by CRT.
Proposed Solution
protocolVersion
inIMDSConfig
retryStrategy
rather than justnumRetries
Other Information
Related Issue: #710
Related CRT Code: IMDSClient.swift
Acknowledgements
The text was updated successfully, but these errors were encountered: