summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2024-07-30 18:05:36 +0100
committer Pavel Grafov <pgrafov@google.com> 2024-08-07 19:28:40 +0100
commit59a1ebdc9229d4fc6fa9056030a806b277a240f7 (patch)
tree2f3f6250aeeea804de76817bf4019527bdaaa1b2 /api/api_test.go
parentef54a7161c6d29bf1aaf20b46e5db8752be3b2db (diff)
Don't return generic policy definitions
Methods modified in this CL are used exclusively to build policies that are settable by admins. A generic policy cannot be set - it is missing an argument (e.g. a package name), and can't really be serialized because Xml.attribute will throw when given a null value. Thus when these methods are used with null arguments, it is a programming error. Bug: 335663055 Test: TH Flag: EXEMPT trivial change Change-Id: Idd7f16bf215c35d1e860612c8d901711bf3b476d
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions