Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apis/opts/config/blkio.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (w *WeightDevice) String() string {

// Type implement WeightDevice as pflag.Value interface
func (w *WeightDevice) Type() string {
return "value"
return "strings"
}

// Value returns all values as type WeightDevice
Expand Down Expand Up @@ -116,7 +116,7 @@ func (t *ThrottleBpsDevice) String() string {

// Type implement ThrottleBpsDevice as pflag.Value interface
func (t *ThrottleBpsDevice) Type() string {
return "value"
return "strings"
}

// Value returns all values as type ThrottleDevice
Expand Down Expand Up @@ -174,7 +174,7 @@ func (t *ThrottleIOpsDevice) String() string {

// Type implement ThrottleIOpsDevice as pflag.Value interface
func (t *ThrottleIOpsDevice) Type() string {
return "value"
return "strings"
}

// Value returns all values
Expand Down
2 changes: 1 addition & 1 deletion apis/opts/config/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ func (r *Runtime) String() string {

// Type implement Runtime as pflag.Value interface
func (r *Runtime) Type() string {
return "value"
return "runtime"
}
2 changes: 1 addition & 1 deletion apis/opts/config/ulimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (u *Ulimit) String() string {

// Type implement Ulimit as pflag.Value interface.
func (u *Ulimit) Type() string {
return "value"
return "ulimit"
}

// Value return ulimit values as type Ulimit
Expand Down