Update configuration struct to support defaults

This commit is contained in:
Dane Everitt
2019-12-22 13:20:34 -08:00
parent 0866b84d8e
commit 834f0122e3
3 changed files with 53 additions and 82 deletions

View File

@@ -81,7 +81,7 @@ func New(data []byte) (*Installer, error) {
// Create a new server instance using the configuration we wrote to the disk
// so that everything gets instantiated correctly on the struct.
s2, err := server.FromConfiguration(b, config.Get().System)
s2, err := server.FromConfiguration(b, &config.Get().System)
return &Installer{
server: s2,