From 65134fe4e5330d34cebdb6be9d3dafe4a53250b0 Mon Sep 17 00:00:00 2001 From: J Kelsey-De France Date: Mon, 25 Jun 2018 11:39:17 -0700 Subject: [PATCH] Fix argument order in function call for policy updates --- rabbitmq/resource_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabbitmq/resource_policy.go b/rabbitmq/resource_policy.go index 2cb2f86d..2b9f74bc 100644 --- a/rabbitmq/resource_policy.go +++ b/rabbitmq/resource_policy.go @@ -159,7 +159,7 @@ func UpdatePolicy(d *schema.ResourceData, meta interface{}) error { return fmt.Errorf("Unable to parse policy") } - if err := putPolicy(rmqc, user, vhost, policyMap); err != nil { + if err := putPolicy(rmqc, vhost, user, policyMap); err != nil { return err } }