Skip to content
Snippets Groups Projects
Commit b1796790 authored by jkito's avatar jkito :skull: Committed by jkito
Browse files

Set config.Provider to provider name instead of provider url

apart from its use in snowflake/bootstrap.go its also used
to form the path to eip-service.json file on disk and motd
package both expects the provider name instead of provider
url
parent d246808f
No related branches found
No related tags found
1 merge request!212Set config.Provider to provider name instead of provider url
Pipeline #228204 passed
......@@ -53,7 +53,7 @@ func GetConfiguredProvider() *ProviderInfo {
}
func ConfigureProvider(opts *ProviderOpts) {
config.Provider = opts.ProviderURL
config.Provider = opts.Provider
config.ApplicationName = opts.AppName
config.BinaryName = opts.BinaryName
config.Auth = opts.Auth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment