Skip to content

Commit dfba50c

Browse files
committed
ovs: gofmt
1 parent 17eb1de commit dfba50c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ovs/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func SetSSLParam(pkey string, cert string, cacert string) OptionFunc {
321321
// for use with all ovs-vsctl commands.
322322
func SetTCPParam(addr string) OptionFunc {
323323
return func(c *Client) {
324-
c.flags= append(c.flags, fmt.Sprintf("--db=tcp:%s", addr))
324+
c.flags = append(c.flags, fmt.Sprintf("--db=tcp:%s", addr))
325325
}
326326
}
327327

ovs/client_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,10 @@ func TestNew(t *testing.T) {
107107
SetTCPParam("127.0.0.1:6640"),
108108
},
109109
c: &Client{
110-
flags: []string{"--db=tcp:127.0.0.1:6640"},
110+
flags: []string{"--db=tcp:127.0.0.1:6640"},
111111
ofctlFlags: make([]string, 0),
112112
},
113113
},
114-
115114
}
116115

117116
for _, tt := range tests {

0 commit comments

Comments
 (0)