Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dkt26111 committed Mar 23, 2020
1 parent 1c31206 commit 77b8f98
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions openstack/compute/v2/extensions/services/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,6 @@
Package services returns information about the compute services in the OpenStack
cloud.
Example of Retrieving list of all services
opts := services.ListOpts{
Binary: "nova-compute",
}
allPages, err := services.List(computeClient, opts).AllPages()
if err != nil {
panic(err)
}
allServices, err := services.ExtractServices(allPages)
if err != nil {
panic(err)
}
for _, service := range allServices {
fmt.Printf("%+v\n", service)
}
Example of Retrieving list of all services
opts := services.ListOpts{
Expand Down

0 comments on commit 77b8f98

Please sign in to comment.