Skip to content

Commit

Permalink
test: Run go fmt ./...
Browse files Browse the repository at this point in the history
The syntax for build hints has slightly changed and gofmt complains.
  • Loading branch information
pierreprinetti committed Dec 10, 2021
1 parent e2ccc7b commit cfaf0b7
Show file tree
Hide file tree
Showing 173 changed files with 173 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || allocations
// +build acceptance baremetal allocations

package httpbasic
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/httpbasic/ports_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || ports
// +build acceptance baremetal ports

package httpbasic
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/noauth/allocations_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || allocations
// +build acceptance baremetal allocations

package noauth
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/noauth/ports_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || ports
// +build acceptance baremetal ports

package noauth
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/v1/allocations_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || allocations
// +build acceptance baremetal allocations

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/v1/nodes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || nodes
// +build acceptance baremetal nodes

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/baremetal/v1/ports_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || baremetal || ports
// +build acceptance baremetal ports

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/apiversions_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package blockstorage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package extensions
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/noauth/snapshots_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package noauth
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/noauth/volumes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package noauth
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v1/snapshots_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v1/volumes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v1/volumetypes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v2/snapshots_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v2/volumes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v3/quotaset_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || quotasets
// +build acceptance quotasets

package v3
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v3/snapshots_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v3
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v3/volumes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v3
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/blockstorage/v3/volumetypes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || blockstorage
// +build acceptance blockstorage

package v3
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance
// +build acceptance

package openstack
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/actions_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || actions
// +build acceptance clustering actions

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/clusters_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policies
// +build acceptance clustering policies

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/events_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || events
// +build acceptance clustering events

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/nodes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policies
// +build acceptance clustering policies

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/policies_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policies
// +build acceptance clustering policies

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/policytypes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policytypes
// +build acceptance clustering policytypes

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/profiles_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policies
// +build acceptance clustering policies

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/profiletypes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || profiletypes
// +build acceptance clustering profiletypes

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/receivers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || policies
// +build acceptance clustering policies

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/clustering/v1/webhooktrigger_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || clustering || webhooks
// +build acceptance clustering webhooks

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/aggregates_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || aggregates
// +build acceptance compute aggregates

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/attachinterfaces_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/availabilityzones_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || availabilityzones
// +build acceptance compute availabilityzones

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/bootfromvolume_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || bootfromvolume
// +build acceptance compute bootfromvolume

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/defsecrules_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || defsecrules
// +build acceptance compute defsecrules

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/diagnostics_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || limits
// +build acceptance compute limits

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/extension_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || extensions
// +build acceptance compute extensions

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/flavors_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || flavors
// +build acceptance compute flavors

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/floatingip_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/hypervisors_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || hypervisors
// +build acceptance compute hypervisors

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/images_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || images
// +build acceptance compute images

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/instance_actions_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || limits
// +build acceptance compute limits

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/keypairs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || keypairs
// +build acceptance compute keypairs

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/limits_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || limits
// +build acceptance compute limits

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/migrate_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/network_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/quotaset_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || quotasets
// +build acceptance compute quotasets

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/remoteconsoles_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || remoteconsoles
// +build acceptance compute remoteconsoles

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/rescueunrescue_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || rescueunrescue
// +build acceptance compute rescueunrescue

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/secgroup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || secgroups
// +build acceptance compute secgroups

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/servergroup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servergroups
// +build acceptance compute servergroups

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/servers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/services_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || services
// +build acceptance compute services

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/tenantnetworks_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || servers
// +build acceptance compute servers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/usage_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || usage
// +build acceptance compute usage

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/compute/v2/volumeattach_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || compute || volumeattach
// +build acceptance compute volumeattach

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/container/v1/capsules_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containers || capsules
// +build acceptance containers capsules

package v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containerinfra
// +build acceptance containerinfra

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/containerinfra/v1/clusters_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containerinfra
// +build acceptance containerinfra

package v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containerinfra
// +build acceptance containerinfra

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/containerinfra/v1/nodegroups_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containerinfra
// +build acceptance containerinfra

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/containerinfra/v1/quotas_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || containerinfra
// +build acceptance containerinfra

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/db/v1/configurations_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || db
// +build acceptance db

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/db/v1/databases_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || db
// +build acceptance db

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/db/v1/flavors_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || db
// +build acceptance db

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/db/v1/instances_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || db
// +build acceptance db

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/db/v1/users_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || db
// +build acceptance db

package v1
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/dns/v2/recordsets_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance
// +build acceptance

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/dns/v2/transfers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || dns || transfers
// +build acceptance dns transfers

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/dns/v2/zones_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || dns || zones
// +build acceptance dns zones

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/identity/v2/extension_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || identity
// +build acceptance identity

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/identity/v2/role_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || identity || roles
// +build acceptance identity roles

package v2
Expand Down
1 change: 1 addition & 0 deletions acceptance/openstack/identity/v2/tenant_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build acceptance || identity
// +build acceptance identity

package v2
Expand Down
Loading

0 comments on commit cfaf0b7

Please sign in to comment.