mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Made the code more DRY
This commit is contained in:
committed by
Alex Dadgar
parent
041f48dc71
commit
c01f2a38f5
@@ -21,7 +21,7 @@ var (
|
||||
Networks: []*structs.NetworkResource{
|
||||
&structs.NetworkResource{
|
||||
MBits: 50,
|
||||
DynamicPorts: []structs.Port{structs.Port{Label: "http"}},
|
||||
DynamicPorts: []structs.Port{{Label: "http"}},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user