Skip to content

Commit

Permalink
remove cred map code
Browse files Browse the repository at this point in the history
  • Loading branch information
zambien committed Apr 3, 2020
1 parent 00cfe14 commit d811245
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions apigee/helpers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package apigee

import (
"github.com/17media/structs"
"github.com/hashicorp/terraform/helper/schema"
"github.com/zambien/go-apigee-edge"
"reflect"
Expand Down Expand Up @@ -60,18 +59,6 @@ func attributesFromMap(attributes map[string]interface{}) []apigee.Attribute {
return result
}

func mapFromCredentials(credentials []apigee.Credential) []interface{} {

result := make([]interface{}, 0, len(credentials))

for _, elem := range credentials {
credentialMap := structs.Map(elem)
result = append(result, credentialMap)
}

return result
}

func arraySortedEqual(a, b []string) bool {
if len(a) != len(b) {
return false
Expand Down

0 comments on commit d811245

Please sign in to comment.