Skip to content

Commit

Permalink
Fix wrong violations definitino in "Putting it all together" document
Browse files Browse the repository at this point in the history
The violations definition was trying to filter for public_servers that
are 'true'; but this would never happen as they are structures
themselves.

Signed-off-by: Juan Antonio Osorio Robles <[email protected]>
  • Loading branch information
JAORMX authored and tsandall committed May 29, 2018
1 parent 09039d8 commit d19c066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/how-does-opa-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ violations[server] {
# ...and any of the server’s protocols is HTTP
server.protocols[_] = "http"
# ...and the server is public.
public_servers[server] = true
public_servers[server]
}

# A server exists in the public_servers set if...
Expand Down

0 comments on commit d19c066

Please sign in to comment.