Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #552 from rfranzke/fix/tests
Browse files Browse the repository at this point in the history
Use  instead of  until old API group is removed
  • Loading branch information
rfranzke authored Jan 15, 2020
2 parents 96347d2 + f7689fe commit 6c11c73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions controllers/provider-alicloud/test/tm/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ func main() {
},
Zones: []v1alpha1.Zone{
{
Name: *zone,
Workers: *networkWorkerCidr,
Name: *zone,
// TODO: change this to `Workers` once garden.sapcloud.io API group is removed
Worker: *networkWorkerCidr,
},
},
},
Expand Down
3 changes: 2 additions & 1 deletion controllers/provider-gcp/test/tm/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ func main() {
Kind: reflect.TypeOf(v1alpha1.InfrastructureConfig{}).Name(),
},
Networks: v1alpha1.NetworkConfig{
Workers: *networkWorkerCidr,
// TODO: change this to `Workers` once garden.sapcloud.io API group is removed
Worker: *networkWorkerCidr,
},
}

Expand Down
3 changes: 2 additions & 1 deletion controllers/provider-openstack/test/tm/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ func main() {
},
FloatingPoolName: *floatingPoolName,
Networks: v1alpha1.Networks{
Workers: *networkWorkerCidr,
// TODO: change this to `Workers` once garden.sapcloud.io API group is removed
Worker: *networkWorkerCidr,
},
}

Expand Down

0 comments on commit 6c11c73

Please sign in to comment.