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

file append experiment encounter bug when parameter --content has space in its value #707

Closed
sigezhao opened this issue May 6, 2022 · 0 comments · Fixed by #708
Closed
Labels
Milestone

Comments

@sigezhao
Copy link

sigezhao commented May 6, 2022

Issue Description

bug report

Describe what happened (or what feature you want)

file append experiment encounter bug when parameter --content has space in its value, experiment only inject the content before space to the destination file.

Describe what you expected to happen

inject the whole content as I input

How to reproduce it (as minimally and precisely as possible)

  1. blade create file append --filepath=/tmp/abc --content="HELL WORLD"
  2. in file /tmp/abc, there is only HELL in it, expected "HELL WORLD"

图片

Tell us your environment

Centos 7;
blade version
version: 1.5.0

Anything else we need to know?

Maybe the bug is here, space is recognized as the end of input content
图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants