containerd / containerd/nerdctl

Cobra bug?

Open
#3,126 0 comments 0 reactions 0 assignees View on GitHub
area/cobra kind/external kind/unconfirmed-bug-claim
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### Description

```
nerdctl volume create --label "" foo
```

Will give `len(labels) == 0`

But

```
nerdctl volume create --label "" --label "" foo
```

Will give `len(labels) == 2`

Does this behavior make sense to you folks?

### Steps to reproduce the issue

na

### Describe the results you received and expected

na

### What version of nerdctl are you using?

1.7.6

### Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

### Host information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.