• Kubernetes Submit Queue's avatar
    Merge pull request #39842 from gnufied/fix-aws-2x-calls · e1fa1512
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 39625, 39842)
    
    AWS: Remove duplicate calls to DescribeInstance during volume operations
    
    This change removes all duplicate calls to describeInstance
    from aws volume code path.
    
    **What this PR does / why we need it**:
    
    This PR removes the duplicate calls present in disk check code paths in AWS. I can confirm that `getAWSInstance` actually returns all instance information already and hence there is no need of making separate `describeInstance` call.
    
    Related to - https://github.com/kubernetes/kubernetes/issues/39526
    
    cc @justinsb @jsafrane
    e1fa1512
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
aws.go Loading commit data...
aws_instancegroups.go Loading commit data...
aws_loadbalancer.go Loading commit data...
aws_routes.go Loading commit data...
aws_test.go Loading commit data...
aws_utils.go Loading commit data...
device_allocator.go Loading commit data...
device_allocator_test.go Loading commit data...
log_handler.go Loading commit data...
retry_handler.go Loading commit data...
retry_handler_test.go Loading commit data...
sets_ippermissions.go Loading commit data...
volumes.go Loading commit data...