Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

Commit

Permalink
Use the instance metadata IP instead of FQDN (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Jun 15, 2016
1 parent 7d15953 commit 3f0b7aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/autocluster.app.src
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{application, autocluster,
[
{description, "RabbitMQ Automatic Clustering Plugin"},
{vsn, "0.6.0"},
{vsn, "0.6.1"},
{env, []},
{mod, {autocluster_app, []}},
{modules, [
Expand Down
2 changes: 1 addition & 1 deletion src/autocluster_aws.erl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
-include_lib("rabbitmq_aws/include/rabbitmq_aws.hrl").

-define(INSTANCE_ID_URL,
"http://instance-data/latest/meta-data/instance-id").
"http://169.254.169.254/latest/meta-data/instance-id").
-define(AUTOSCALING_DESCRIBE_INSTANCES,
"/?Action=DescribeAutoScalingInstances&Version=2011-01-01").

Expand Down

0 comments on commit 3f0b7aa

Please sign in to comment.