Skip to content

Commit 6731ff8

Browse files
author
Adrien Pensart
committed
feat(compute): support KeyName in server create
1 parent 2adf797 commit 6731ff8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: openstack/compute/v2/servers/requests.go

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ type ListOpts struct {
8686

8787
// Display servers based on their availability zone (Admin only until microversion 2.82).
8888
AvailabilityZone string `q:"availability_zone"`
89+
90+
// KeyName is the name of the key pair.
91+
KeyName string `json:"key_name,omitempty"`
8992
}
9093

9194
// ToServerListQuery formats a ListOpts into a query string.

0 commit comments

Comments
 (0)