fix: bump github.com/gophercloud/gophercloud from 0.16.0 to 0.24.0 (#10693)
This commit is contained in:
parent
f844bc4ed2
commit
9a1e250f91
2
go.mod
2
go.mod
|
|
@ -68,7 +68,7 @@ require (
|
|||
github.com/google/go-cmp v0.5.7
|
||||
github.com/google/go-github/v32 v32.1.0
|
||||
github.com/gopcua/opcua v0.3.1
|
||||
github.com/gophercloud/gophercloud v0.16.0
|
||||
github.com/gophercloud/gophercloud v0.24.0
|
||||
github.com/gorilla/mux v1.8.0
|
||||
github.com/gorilla/websocket v1.4.2
|
||||
github.com/gosnmp/gosnmp v1.34.0
|
||||
|
|
|
|||
3
go.sum
3
go.sum
|
|
@ -1149,8 +1149,9 @@ github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97Dwqy
|
|||
github.com/gookit/color v1.3.6/go.mod h1:R3ogXq2B9rTbXoSHJ1HyUVAZ3poOJHpd9nQmyGZsfvQ=
|
||||
github.com/gopcua/opcua v0.3.1 h1:BS1TRJUdsPSwU0mlfc8Dffchh0jTw9lWchmF4HFRo2w=
|
||||
github.com/gopcua/opcua v0.3.1/go.mod h1:rdqS1oF5s/+Ko4SnhZA+3tgK4MQuXDzH3KgnnLDaCCQ=
|
||||
github.com/gophercloud/gophercloud v0.16.0 h1:sWjPfypuzxRxjVbk3/MsU4H8jS0NNlyauZtIUl78BPU=
|
||||
github.com/gophercloud/gophercloud v0.16.0/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4=
|
||||
github.com/gophercloud/gophercloud v0.24.0 h1:jDsIMGJ1KZpAjYfQgGI2coNQj5Q83oPzuiGJRFWgMzw=
|
||||
github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c=
|
||||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
|
||||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
|
||||
github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU=
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ var sampleConfig = `
|
|||
username = "admin"
|
||||
password = "password"
|
||||
|
||||
## Available services are:
|
||||
## Available services are:
|
||||
## "agents", "aggregates", "flavors", "hypervisors", "networks", "nova_services",
|
||||
## "ports", "projects", "servers", "services", "stacks", "storage_pools", "subnets", "volumes"
|
||||
# enabled_services = ["services", "projects", "hypervisors", "flavors", "networks", "volumes"]
|
||||
|
|
@ -152,7 +152,7 @@ var sampleConfig = `
|
|||
## Use TLS but skip chain & host verification
|
||||
# insecure_skip_verify = false
|
||||
|
||||
## Options for tags received from Openstack
|
||||
## Options for tags received from Openstack
|
||||
# tag_prefix = "openstack_tag_"
|
||||
# tag_value = "true"
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ var sampleConfig = `
|
|||
# human_readable_timestamps = false
|
||||
|
||||
## Measure Openstack call duration
|
||||
# measure_openstack_requests = false
|
||||
# measure_openstack_requests = false
|
||||
`
|
||||
|
||||
// SampleConfig return a sample configuration file for auto-generation and
|
||||
|
|
@ -612,7 +612,7 @@ func (o *OpenStack) gatherProjects(acc telegraf.Accumulator) error {
|
|||
|
||||
// gatherHypervisors collects and accumulates hypervisors data from the OpenStack API.
|
||||
func (o *OpenStack) gatherHypervisors(acc telegraf.Accumulator) error {
|
||||
page, err := hypervisors.List(o.compute).AllPages()
|
||||
page, err := hypervisors.List(o.compute, hypervisors.ListOpts{}).AllPages()
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to list hypervisors %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue