Merge pull request #9139 from hashicorp/deps-update-policy-equivalence

deps: Update github.com/jen20/awspolicyequivalence
This commit is contained in:
James Nugent 2016-09-29 17:05:29 -05:00 committed by GitHub
commit 200daa9bd3
2 changed files with 9 additions and 10 deletions

View File

@ -1,8 +1,9 @@
package awspolicy package awspolicy
import ( import (
"reflect"
"encoding/json" "encoding/json"
"reflect"
"strings"
"github.com/hashicorp/errwrap" "github.com/hashicorp/errwrap"
) )
@ -104,7 +105,7 @@ func (statement *awsPolicyStatement) equals(other *awsPolicyStatement) bool {
return false return false
} }
if statement.Effect != other.Effect { if strings.ToLower(statement.Effect) != strings.ToLower(other.Effect) {
return false return false
} }
@ -218,7 +219,6 @@ func stringPrincipalsEqual(ours, theirs interface{}) bool {
return false return false
} }
type awsConditionsBlock map[string]map[string]interface{} type awsConditionsBlock map[string]map[string]interface{}
func (conditions awsConditionsBlock) Equals(other awsConditionsBlock) bool { func (conditions awsConditionsBlock) Equals(other awsConditionsBlock) bool {
@ -287,7 +287,6 @@ func (conditions awsConditionsBlock) Equals(other awsConditionsBlock) bool {
return true return true
} }
type awsStringSet []string type awsStringSet []string
// newAWSStringSet constructs an awsStringSet from an interface{} - which // newAWSStringSet constructs an awsStringSet from an interface{} - which

6
vendor/vendor.json vendored
View File

@ -1291,10 +1291,10 @@
"revision": "f233a8bac88d1f2dc282a98186f5a3363b806181" "revision": "f233a8bac88d1f2dc282a98186f5a3363b806181"
}, },
{ {
"checksumSHA1": "cCSJGF1h+suYcgMq7wEm1carknw=", "checksumSHA1": "zyyyjWKu9gGLFy00k8utV7pncvg=",
"path": "github.com/jen20/awspolicyequivalence", "path": "github.com/jen20/awspolicyequivalence",
"revision": "6b9230008577fc3dcd10c104ce8fb16ed679bf66", "revision": "ebe5485f2c1822e7bee8b5008e14d9481a14a3a3",
"revisionTime": "2016-09-01T18:24:20Z" "revisionTime": "2016-09-29T21:48:42Z"
}, },
{ {
"checksumSHA1": "oPpOfZn11Ef6DWOoETxSW9Venzs=", "checksumSHA1": "oPpOfZn11Ef6DWOoETxSW9Venzs=",