mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-09 02:55:59 +08:00
By default, switch to the new config (#567)
* By default, switch to the new config * Update CHANGELOG
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* Remove deprecated `-apns` flags from server startup (#528)
|
||||
* Move API calls to list endpoints from HTTP GET to HTTP POST (#522, #523, #524, #525, #526)
|
||||
* Add support for the ApplicationConfiguration Setting (#521)
|
||||
* Fix bug in mdmctl server saving, switch config when saving automatically (#565, #566)
|
||||
|
||||
## [v1.4.0](https://github.com/micromdm/micromdm/compare/v1.3.1...v1.4.0) September 6 2018
|
||||
|
||||
|
||||
@@ -161,7 +161,11 @@ func setCmd(args []string) error {
|
||||
|
||||
cfg.SkipVerify = *flSkipVerify
|
||||
|
||||
return saveServerConfig(cfg, *flName)
|
||||
err = saveServerConfig(cfg, *flName)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return switchServerConfig(*flName)
|
||||
}
|
||||
|
||||
func switchCmd(args []string) error {
|
||||
|
||||
Reference in New Issue
Block a user