Skip to content

Commit

Permalink
chore(logging): fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
minherz committed May 18, 2022
1 parent 9ba67f8 commit 67e82e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func makeParent(parent string) (string, error) {
}
prefix := strings.Split(parent, "/")[0]
if prefix != "projects" && prefix != "folders" && prefix != "billingAccounts" && prefix != "organizations" {
return parent, fmt.Errorf("parent parameter must start with 'projects/' 'folders/' 'billingAccounts/' or 'organizations/'.")
return parent, fmt.Errorf("parent parameter must start with 'projects/' 'folders/' 'billingAccounts/' or 'organizations/'")
}
return parent, nil
}
Expand Down

0 comments on commit 67e82e0

Please sign in to comment.