Skip to content

Commit

Permalink
fix spelling of types.Resource Pid field. fixes compose-spec#400
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed May 16, 2023
1 parent ec9cd70 commit a7100f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ type Resource struct {
// TODO: types to convert from units and ratios
NanoCPUs string `yaml:"cpus,omitempty" json:"cpus,omitempty"`
MemoryBytes UnitBytes `yaml:"memory,omitempty" json:"memory,omitempty"`
PIds int64 `yaml:"pids,omitempty" json:"pids,omitempty"`
Pids int64 `yaml:"pids,omitempty" json:"pids,omitempty"`
Devices []DeviceRequest `yaml:"devices,omitempty" json:"devices,omitempty"`
GenericResources []GenericResource `yaml:"generic_resources,omitempty" json:"generic_resources,omitempty"`

Expand Down

0 comments on commit a7100f3

Please sign in to comment.