-
Notifications
You must be signed in to change notification settings - Fork 2
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
added basePath like c parodus, and updated deps #3
Conversation
kcajmagic
commented
Dec 2, 2020
- bumped wrp-go
- bumped webpa-common
- bumped mangos
- bumped kratos
Vulnerable Libraries (1)
More info on how to fix Vulnerable Libraries in Go. 👉 Go to the dashboard for detailed results. 📥 Happy? Share your feedback with us. |
@@ -124,6 +128,7 @@ func Provide(in ConfigFlagIn) (Config, error) { | |||
config.FirmwareName, _ = in.FlagSet.GetString(FirmwareNameKeyName) | |||
config.BootTime, _ = in.FlagSet.GetInt64(BootTimeKeyName) | |||
config.URL, _ = in.FlagSet.GetString(URLKeyName) | |||
config.URL += XMIDTPathURL |
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.
Why couldn't we just pass the /api/v2/device
suffix as part of the 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.
This is to be more like c parodus https://github.com/xmidt-org/parodus/blob/f44fc2c8d9d792e6cea7a0f8bc127b1b8271e2f9/src/config.h#L60
Co-authored-by: Joel Unzain <[email protected]>
Kudos, SonarCloud Quality Gate passed!
|