mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-12 21:35:40 +08:00
Added ability to store multiple servers and switch between them (#275)
Added ability to store multiple servers, switch between them and migrate old config format to new config format. Closes #189
This commit is contained in:
committed by
Victor Vrantchan
parent
777f9af8f0
commit
a3e228fbbe
@@ -12,12 +12,12 @@ import (
|
||||
)
|
||||
|
||||
type removeCommand struct {
|
||||
config *ClientConfig
|
||||
config *ServerConfig
|
||||
remove remove.Service
|
||||
}
|
||||
|
||||
func (cmd *removeCommand) setup() error {
|
||||
cfg, err := LoadClientConfig()
|
||||
cfg, err := LoadServerConfig()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user