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

[SRE-221] parse -v flag #50

Closed
wants to merge 1 commit into from
Closed

[SRE-221] parse -v flag #50

wants to merge 1 commit into from

Conversation

pwilczynskiclearcode
Copy link
Contributor

No description provided.

flag.Parse()

vFlag.Value.Set(*verbosity)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know where do we spawn catalyst-uploader process but we should pass -v in there.

@pwilczynskiclearcode
Copy link
Contributor Author

It fails with panic: flag redefined: v

@mjh1
Copy link
Contributor

mjh1 commented Jan 19, 2024

@pwilczynskiclearcode the v flag should already be being read, the library seems to handle it. if you try running it locally on the main branch you should see the -v flag working. the problem is i don't know where the uploader is called in the real environment, i think somewhere in mist.

cat ~/BigBuckBunny-30sec.mp4 | go run catalyst-uploader.go -v 7 s3+https://jvxcq6sbd76fzio4rkkjzn5em7cq:xx@gateway.storjshare.io/catalyst-recordings-monster/blah4.mp4

@pwilczynskiclearcode
Copy link
Contributor Author

@pwilczynskiclearcode pwilczynskiclearcode deleted the SRE-221-flag branch January 19, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants