Fix credential expiration parsing for ECS/EC2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      RUST-1420 introduced AWS credential caching, which parses an expiration field from responses returned from AWS endpoints. When this work was initially implemented we had tests for ECS/EC2 skipped for unrelated setup failures. The expiration field deserialization logic that was added only accounts for doubles, but ECS/EC2 return their expiration fields as strings. We should add logic to cover this case.

            Assignee:
            Isabel Atkinson
            Reporter:
            Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: