Skip to content

Commit

Permalink
correcting Get() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed Apr 29, 2020
1 parent 1b61e8e commit 76b33c9
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 @@ -38,7 +38,7 @@ func Identify(c pc.PrismaCloudClient, name string) (string, error) {
}

// Get returns the compliance standard for the specified ID.
func Get(c pc.PrismaCloudClient, id string) (interface{}, error) {
func Get(c pc.PrismaCloudClient, id string) (Standard, error) {
c.Log(pc.LogAction, "(get) %s id:%s", singular, id)

path := make([]string, 0, len(Suffix)+1)
Expand Down

0 comments on commit 76b33c9

Please sign in to comment.