-
Notifications
You must be signed in to change notification settings - Fork 928
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
A bug with flag --custom-labels
when use golang exec.Command()
Func
#5187
Comments
Your code has a bug, and this is a correct example.
|
this is a error command, because if exec the follow command: juicefs mount meta url mp --custom-labels "key1:value1;key2:value2" however; if exec this command: juicefs mount meta url mp --custom-labels key1:value1;key2:value2 so we need use juicefs mount metaurl mp --custom-labels \"key1:value1;key2:value2\" in this case, juicefs will happen panic. |
|
@sumengzs Any updates? |
What happened:
When you exec juicefs mount command with golang and the command include --custom-labels flag, the proccess will exit after panic.
Example:
Err
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
like the example
key and value not less than 2
Anything else we need to know?
Environment:
juicefs --version
) or Hadoop Java SDK version: 1.2.0+2024-06-18.873c47bcat /etc/os-release
):NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
uname -a
):Linux 6.1.83-1.2.3 compact slices into bigger one #2 SMP PREEMPT_DYNAMIC Wed May 22 20:08:49 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: