Skip to content

Commit 6bc1e04

Browse files
authored
Merge pull request #28 from digitalocean/mdl-ovs-gofmt
ovs: gofmt -s
2 parents b101c8d + caa6ed9 commit 6bc1e04

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ovs/openflow_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
853853
cookie=0x0, duration=9215.748s, table=0, n_packets=6, n_bytes=480, idle_age=9206, priority=820,in_port=LOCAL actions=mod_vlan_vid:10,output:1
854854
`,
855855
want: []*Flow{
856-
&Flow{
856+
{
857857
Priority: 820,
858858
InPort: PortLOCAL,
859859
Matches: []Match{},
@@ -877,7 +877,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
877877
cookie=0x0, duration=13.265s, table=12, n_packets=0, n_bytes=0, idle_age=13, priority=4321,tcp,tcp_flags=+syn-psh+ack actions=resubmit(,13)
878878
`,
879879
want: []*Flow{
880-
&Flow{
880+
{
881881
Priority: 820,
882882
InPort: PortLOCAL,
883883
Matches: []Match{},
@@ -887,7 +887,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
887887
Output(1),
888888
},
889889
},
890-
&Flow{
890+
{
891891
Priority: 110,
892892
Protocol: ProtocolIPv4,
893893
Matches: []Match{
@@ -898,7 +898,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
898898
ConnectionTracking("table=51"),
899899
},
900900
},
901-
&Flow{
901+
{
902902
Priority: 101,
903903
Protocol: ProtocolIPv4,
904904
Matches: []Match{
@@ -913,7 +913,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
913913
ConnectionTracking("commit,table=65"),
914914
},
915915
},
916-
&Flow{
916+
{
917917
Priority: 4040,
918918
Protocol: ProtocolIPv4,
919919
Matches: []Match{
@@ -926,7 +926,7 @@ func TestClientOpenFlowDumpFlows(t *testing.T) {
926926
Output(19),
927927
},
928928
},
929-
&Flow{
929+
{
930930
Priority: 4321,
931931
Protocol: ProtocolTCPv4,
932932
Matches: []Match{

0 commit comments

Comments
 (0)