-
Notifications
You must be signed in to change notification settings - Fork 573
echo "test" | mc pipe /tmp/hello.txt
doesn't work
#1830
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
Comments
can we put some more details here? - we shouldn't be reporting bugs in this manner. |
👍 , I updated the description. |
os.Stdin is considered as File in go and implements (ReadAt). This could change in go2.0 according to this ticket => golang/go#13473. I think os.Stdin can easily be treated separately in mc code. |
We can mask it into another struct before passing to minio-go, ie which implements io.Reader() alone. |
This bug is reproducible only with FS, so no minio-go. client-fs anticipated this case. I added an additional check in #1834 to avoid seeking os.Stdin in Put() |
Looks like this bug emerged again. |
This is a regression in minio-go, fixed it but will test further |
Is this fixed @vadmeste ? |
Yes, fixed by minio/minio-go#546 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The pipe command doesn't seem to be working as expected with the mc master:
The text was updated successfully, but these errors were encountered: