mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-16 17:31:58 +00:00
⚡ Panic if WriteConfig
fails in pro
command
This commit is contained in:
parent
49ce15f9da
commit
b11619fbfa
@ -93,7 +93,10 @@ func runLicenseRecieverServer() {
|
||||
log.Info().Str("key", licenseKey).Msg("Received license:")
|
||||
|
||||
config.Config.License = licenseKey
|
||||
config.WriteConfig(&config.Config)
|
||||
err = config.WriteConfig(&config.Config)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
connector.PostLicense(config.Config.License)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user