-
Notifications
You must be signed in to change notification settings - Fork 103
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
[Flare] Update a couple things in how flares are shipped #1420
Conversation
b22c3ad
to
cb44332
Compare
cmd/launcher/flare.go
Outdated
flagset = flag.NewFlagSet("flare", flag.ExitOnError) | ||
flSave = flagset.String("save", "upload", "local | upload") | ||
flOutputDir = flagset.String("output_dir", ".", "path to directory to save flare output") | ||
flUploadRequestURL = flagset.String("upload_request_url", "", "URL to request a signed upload URL") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we populate this with the default URL or do we want to send down from control server? But sending from control server would mean that a non-enrolled launcher would still need this as a cmd line flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I hadn't even realized it didn't default to something. Yeah, let me update that. Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How's that?
bb11234
Now that the SaaS side supports flare shipping, I've found a couple of issues, and tweaks:
Content-Type
header. Otherwise rails won't parse the data and we don't get the extra stuff.I considered, but did not, adjust flare to also print doctor output. I'm on the fence about output in general. So it's still TBD