Merge pull request #3556 from angrycub/f-fingerprint-log-level

Dropped loglevel for AWS fingerprinter env read misses to DEBUG
This commit is contained in:
Charlie Voiselle 2017-11-16 16:27:25 -05:00 committed by GitHub
commit 7a231897a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ func (f *EnvAWSFingerprint) Fingerprint(cfg *config.Config, node *structs.Node)
for k, unique := range keys {
res, err := client.Get(metadataURL + k)
if res.StatusCode != http.StatusOK {
f.logger.Printf("[WARN]: fingerprint.env_aws: Could not read value for attribute %q", k)
f.logger.Printf("[DEBUG]: fingerprint.env_aws: Could not read value for attribute %q", k)
continue
}
if err != nil {