use correct structure when ocis init
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -74,7 +74,7 @@ type IdmService struct {
|
||||
}
|
||||
|
||||
type SettingsService struct {
|
||||
ServiceAccountIDAdmin string `yaml:"service_account_id_admin"`
|
||||
ServiceAccountIDs []string `yaml:"service_account_ids"`
|
||||
}
|
||||
|
||||
type FrontendService struct {
|
||||
@@ -400,7 +400,7 @@ func CreateConfig(insecure, forceOverwrite bool, configPath, adminPassword strin
|
||||
ServiceAccount: serviceAccount,
|
||||
},
|
||||
Settings: SettingsService{
|
||||
ServiceAccountIDAdmin: serviceAccount.ServiceAccountID,
|
||||
ServiceAccountIDs: []string{serviceAccount.ServiceAccountID},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user