Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contivmodel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is how current object model looks like:
### Using go client
Here is an example of how to use contiv go client

```
```golang
package main

import (
Expand All @@ -30,9 +30,9 @@ func main() {
}

// Create policy
err = cl.PostPolicy(policy)
err = cl.PolicyPost(&policy)
if err != nil {
log.Errorf("Policy Creation failed. Err: %v", err)
log.Fatalf("Policy Creation failed. Err: %v", err)
}
}
```