diff --git a/go.mod b/go.mod index 06d8777..54c0ba1 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 1d2a909..c4bd1bb 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/plugin/impl/hypervisor_test.go b/plugin/impl/hypervisor_test.go index 1b19808..07fb085 100644 --- a/plugin/impl/hypervisor_test.go +++ b/plugin/impl/hypervisor_test.go @@ -136,7 +136,7 @@ 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, }, } @@ -144,7 +144,6 @@ var _ = Describe("The hypervisor plugin", func() { fields := map[string]any{ "Evicted": true, - "Aggregates": []string{"agg1", "agg2", "agg3"}, "NumInstances": 10, "HypervisorID": "some-id", }