Compare commits
2 commits
296909ef1f
...
db665a30fa
Author | SHA1 | Date | |
---|---|---|---|
db665a30fa | |||
088f4faf82 |
2 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,9 @@ func (ac *AppConfig) UnmarshalJSON(data []byte) error {
|
|||
return fmt.Errorf("failed to read JSON: %w", err)
|
||||
}
|
||||
ac.OpenConnectConfig = jsonConf.OpenConnectConfig
|
||||
if ac.OpenConnectConfig == nil {
|
||||
ac.OpenConnectConfig = &OpenConnectConfig{}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,9 @@ var defaultConfig = AppConfig{
|
|||
CaFile string
|
||||
}{Mode: defaultStorageSSLMode, CaFile: defaultStorageSSLCaFile},
|
||||
},
|
||||
OpenConnectConfig: &OpenConnectConfig{
|
||||
Issuer: defaultIssuer,
|
||||
},
|
||||
}
|
||||
|
||||
func initJson(t *testing.T, content string) string {
|
||||
|
|
Loading…
Reference in a new issue