Skip to content

Commit

Permalink
Merge pull request #41 from tormath1/tormath1/doc-userdata
Browse files Browse the repository at this point in the history
v2/servers: add docstring for userdata
  • Loading branch information
NeilW authored Nov 22, 2023
2 parents 9ba208e + 3ba46e0 commit 4b50c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type ServerConsole struct {

// ServerOptions is used in conjunction with CreateServer and UpdateServer to
// create and update servers.
// UserData needs to be base64 encoded.
type ServerOptions struct {
ID string `json:"-"`
Image *string `json:"image,omitempty"`
Expand Down

0 comments on commit 4b50c52

Please sign in to comment.