Skip to content

Commit

Permalink
bug fix, unmarshal needs a pointer to an interface
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed Apr 30, 2020
1 parent 76b33c9 commit 0580988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compliance/standard/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func Get(c pc.PrismaCloudClient, id string) (Standard, error) {
path = append(path, id)

var ans Standard
_, err := c.Communicate("GET", path, nil, nil, ans)
_, err := c.Communicate("GET", path, nil, nil, &ans)
return ans, err
}

Expand Down

0 comments on commit 0580988

Please sign in to comment.