Skip to content

Commit

Permalink
fix(cli): hostrequirements.gpu can be string or bool
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Dec 8, 2023
1 parent 5e4f2c3 commit cfde2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/devcontainer/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ type HostRequirements struct {
Storage string `json:"storage,omitempty"`

// If GPU support should be enabled
GPU bool `json:"gpu,omitempty"`
GPU types.StrBool `json:"gpu,omitempty"`
}

type PortAttribute struct {
Expand Down

0 comments on commit cfde2cb

Please sign in to comment.