Skip to content

Commit

Permalink
Merge pull request #30 from Prabhjot-Sethi/master
Browse files Browse the repository at this point in the history
Fix params for release api
  • Loading branch information
skatsaounis committed Dec 7, 2023
2 parents 7784934 + 664427b commit 11c6eca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions entity/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ type MachineDeployParams struct {
EnableHwSync bool `url:"enable_hw_sync,omitempty"`
}

// MachineDeployParams enumerates the parameters for the release operation
// MachineReleaseParams enumerates the parameters for the release operation
type MachineReleaseParams struct {
Comment string `url:"comment,omitempty"`
Erase string `url:"erase,omitempty"`
Force string `url:"force,omitempty"`
QuickErase string `url:"quick_erase,omitempty"`
SecureErase string `url:"secure_erase,omitempty"`
Erase bool `url:"erase,omitempty"`
Force bool `url:"force,omitempty"`
QuickErase bool `url:"quick_erase,omitempty"`
SecureErase bool `url:"secure_erase,omitempty"`
}

0 comments on commit 11c6eca

Please sign in to comment.