Skip to content

Commit

Permalink
fix(internal): Specify unit size for memory (#1283)
Browse files Browse the repository at this point in the history
Reviewed-by: Alexander Jung <[email protected]>
Approved-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung committed Feb 21, 2024
2 parents 8cdd971 + 1940ce6 commit b51cd99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cli/kraft/cloud/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type DeployOptions struct {
Jobs int `long:"jobs" short:"j" usage:"Allow N jobs at once"`
KernelDbg bool `long:"dbg" usage:"Build the debuggable (symbolic) kernel image instead of the stripped image"`
Kraftfile string `local:"true" long:"kraftfile" short:"K" usage:"Set the Kraftfile to use"`
Memory int64 `local:"true" long:"memory" short:"M" usage:"Specify the amount of memory to allocate"`
Memory int64 `local:"true" long:"memory" short:"M" usage:"Specify the amount of memory to allocate (MiB)"`
Metro string `noattribute:"true"`
Name string `local:"true" long:"name" short:"n" usage:"Name of the deployment"`
NoCache bool `long:"no-cache" short:"F" usage:"Force a rebuild even if existing intermediate artifacts already exist"`
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/kraft/cloud/instance/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type CreateOptions struct {
Features []string `local:"true" long:"feature" short:"f" usage:"List of features to enable"`
FQDN string `local:"true" long:"fqdn" short:"d" usage:"The Fully Qualified Domain Name to use for the service"`
Image string `noattribute:"true"`
Memory int64 `local:"true" long:"memory" short:"M" usage:"Specify the amount of memory to allocate"`
Memory int64 `local:"true" long:"memory" short:"M" usage:"Specify the amount of memory to allocate (MiB)"`
Metro string `noattribute:"true"`
Name string `local:"true" long:"name" short:"n" usage:"Specify the name of the package"`
Output string `local:"true" long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,full" default:"table"`
Expand Down

0 comments on commit b51cd99

Please sign in to comment.