HUE-8282 [fb] Check if EC2 instance before check IAM metadata

Review Request #12935 - Created May 7, 2018 and submitted

Ying Chen
hue
origin/master
HUE-8282
hue
enricoberti, jgauthier, johan, ranade, romain, weixia
commit 3dd40a9013b76bffaf987bac395477e760198be3 (HEAD -> HUE-8282-s3)
Author: Ying Chen <yingchen@cloudera.com>
Date:   Mon May 7 18:23:18 2018 -0700

    HUE-8282 [fb] Check if EC2 instance before check IAM metadata

:100644 100644 ae8656c05d... 50eb5b40c0... M    desktop/libs/aws/src/aws/conf.py
Tested on Mac, vpc, and gce
  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
  1. Ship It!
  2. 
      
  1. 
      
  2. desktop/libs/aws/src/aws/conf.py (Diff revision 2)
     
     

    except Exception, e:

  3. desktop/libs/aws/src/aws/conf.py (Diff revision 2)
     
     

    No need to ': %s" % e

    LOG.error --> LOG.except

    1. Just want to have a unique with the general exception, so that quickly identify where it happened.
  4. 
      
Review request changed

Status: Closed (submitted)

Loading...