Add TAG_SETTING to list of allowed tags for the ec2 discovery plugin.

I am unable to set ec2 discovery tags because this setting was
accidentally omitted from the register settings list in
Ec2DiscoveryPlugin.java. I get this:

java.lang.IllegalArgumentException: unknown setting [discovery.ec2.tag.project]
This commit is contained in:
John Barker 2016-05-10 16:19:46 -04:00
parent 1dfbe8b0f1
commit 531dcbf20a
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ public class Ec2DiscoveryPlugin extends Plugin {
settingsModule.registerSetting(AwsEc2Service.DISCOVERY_EC2.GROUPS_SETTING);
settingsModule.registerSetting(AwsEc2Service.DISCOVERY_EC2.AVAILABILITY_ZONES_SETTING);
settingsModule.registerSetting(AwsEc2Service.DISCOVERY_EC2.NODE_CACHE_TIME_SETTING);
settingsModule.registerSetting(AwsEc2Service.DISCOVERY_EC2.TAG_SETTING);
}
/**