Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] usage of "pouch volume create" is not right #128

Closed
Letty5411 opened this issue Nov 20, 2017 · 1 comment · Fixed by #132
Closed

[bug] usage of "pouch volume create" is not right #128

Letty5411 opened this issue Nov 20, 2017 · 1 comment · Fixed by #132
Labels
areas/storage kind/bug This is bug report for project

Comments

@Letty5411
Copy link
Contributor

Letty5411 commented Nov 20, 2017

Issue Description
The usage of "pouch volume create" is incorrect.

Describe what happened:

#pouch volume create -h
Create a pouch volume

Usage:
  pouch volume create [args] NAME [flags]

<snip>

Describe what you expected to happen:
According to the usage, the following CMD should succeed:

#pouch volume create -d local volume-1
ERRO[0000] boltdb: put key: : key required

But "--name" is required:

#pouch volume create --name=volume-2
Scope:
CreatedAt:
Driver:       local
Mountpoint:
Name:         volume-2

How to reproduce it (as minimally and precisely as possible):
1.
2.
3.

Anything else we need to know?:

Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added areas/storage kind/bug This is bug report for project labels Nov 20, 2017
@Letty5411
Copy link
Contributor Author

@rudyfly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/storage kind/bug This is bug report for project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants