Skip to content

Commit

Permalink
fixing commit script in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed Dec 31, 2021
1 parent fa813dc commit 53de16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/commits-firewall.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func main() {
log.Fatalf("Error in commit: %s", err)
} else if jobId == 0 {
log.Printf("No commit needed")
} else if err = fw.WaitForJob(jobId, sd, nil); err != nil {
} else if err = fw.WaitForJob(jobId, sd, nil, nil); err != nil {
log.Printf("Error in commit: %s", err)
} else {
log.Printf("Committed config successfully")
Expand Down

0 comments on commit 53de16c

Please sign in to comment.