Skip to content

Commit

Permalink
fix: ipv6 get portmap failed
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Sep 21, 2020
1 parent e5d5096 commit b74189f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pinger/ovn.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func checkSBBindings(config *Configuration) ([]string, error) {
sbPort := os.Getenv("OVN_SB_SERVICE_PORT")
output, err := exec.Command(
"ovn-sbctl",
fmt.Sprintf("--db=tcp:%s:%s", sbHost, sbPort),
fmt.Sprintf("--db=tcp:[%s]:%s", sbHost, sbPort),
"--format=csv",
"--no-heading",
"--data=bare",
Expand Down

0 comments on commit b74189f

Please sign in to comment.