By default, switch to the new config (#567)

* By default, switch to the new config

* Update CHANGELOG
This commit is contained in:
Jesse Peterson
2019-02-15 12:09:14 -08:00
committed by GitHub
parent 9eec556ea0
commit 7d65dd8898
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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 {