(args []string)
| 28 | ) |
| 29 | |
| 30 | func objectWithLabelArgs(args []string) map[string]string { |
| 31 | if len(args) >= 1 { |
| 32 | return labelArgs(args) |
| 33 | } |
| 34 | return nil |
| 35 | } |
| 36 | |
| 37 | // labelArgs returns a map of label key,value pairs. |
| 38 | // From https://github.com/containerd/containerd/blob/v1.7.0-rc.2/cmd/ctr/commands/commands.go#L229-L241 |