Cleanup unused struct field
Remove `Pool` field from `CreateInstanceParams` struct, because this is given as a separate parameter to the `CreateInstance` function.
This commit is contained in:
parent
775dd51782
commit
e2ada6d1e3
6 changed files with 1 additions and 11 deletions
|
|
@ -77,7 +77,6 @@ func (s *InstancesTestSuite) SetupTest() {
|
|||
OSType: "linux",
|
||||
OSArch: "amd64",
|
||||
CallbackURL: "https://garm.example.com/",
|
||||
Pool: pool.ID,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
|
@ -103,7 +102,6 @@ func (s *InstancesTestSuite) TestCreateInstance() {
|
|||
OSType: "linux",
|
||||
OSArch: "amd64",
|
||||
CallbackURL: "https://garm.example.com/",
|
||||
Pool: s.Fixtures.Pool.ID,
|
||||
}
|
||||
|
||||
// call tested function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue