Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.26.0
require (
github.com/PaesslerAG/gval v1.2.4
github.com/blang/semver/v4 v4.0.0
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260227140710-c8c9db4ca196
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260311083729-2256a066c976
github.com/elastic/go-ucfg v0.9.0
github.com/go-logr/logr v1.4.3
github.com/gophercloud/gophercloud/v2 v2.10.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260227140710-c8c9db4ca196 h1:bn2rcaKcNHLvFwp/WKMNnxu3Ol9r9F0eP0eNy21SNqo=
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260227140710-c8c9db4ca196/go.mod h1:WJqT8sLEfwGGzgO/r+/nvqzncs6om1uXDE/ZCHKL+zs=
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260311083729-2256a066c976 h1:z68+9bqM9nbAU+UMmRPnEV7X7ctfz8aYDOBxNk/dfWE=
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260311083729-2256a066c976/go.mod h1:b0KmJdxvRI8UXlGe8cRm5BD8Tm2WhF7zSKMSIRGyVL4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
Expand Down
3 changes: 1 addition & 2 deletions plugin/impl/hypervisor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,14 @@ var _ = Describe("The hypervisor plugin", func() {
ObjectMeta: metav1.ObjectMeta{Name: "test-node"},
Status: kvmv1.HypervisorStatus{
Evicted: false,
Aggregates: []string{"agg1", "agg2"},
Aggregates: []kvmv1.Aggregate{{Name: "agg1"}, {Name: "agg2"}},
NumInstances: 42,
},
}
Expect(k8sclient.Create(ctx, hypervisor)).To(Succeed())

fields := map[string]any{
"Evicted": true,
"Aggregates": []string{"agg1", "agg2", "agg3"},
"NumInstances": 10,
"HypervisorID": "some-id",
}
Expand Down
Loading