Fix Config object permissions

This change fixes a bug where the default file and directory
permissions weren't getting added (if missing) to the Config
object at runtime.

Change-Id: I87ed2f40af9fe079baade67c506a19de427c4e64
This commit is contained in:
Matthew Fuller 2021-03-22 21:18:15 +00:00
parent edd0b84d84
commit fbdff6c38e

View File

@ -66,6 +66,10 @@ func NewEmptyConfig() *Config {
Manifests: map[string]*Manifest{},
Contexts: map[string]*Context{},
fileSystem: fs.NewDocumentFs(),
Permissions: Permissions{
DirectoryPermission: AirshipDefaultDirectoryPermission,
FilePermission: AirshipDefaultFilePermission,
},
}
}