func (m *yamlManager) GetOrgConfigs() ([]OrgConfig, error) {
	files, err := FindFiles(m.ConfigDir, "orgConfig.yml")
	if err != nil {
		return nil, err
	}
	result := make([]OrgConfig, len(files))
	for i, f := range files {
		result[i].AppTaskLimit = unlimited
		result[i].AppInstanceLimit = unlimited
		result[i].TotalReservedRoutePorts = "0"
		result[i].TotalPrivateDomains = unlimited
		result[i].TotalServiceKeys = unlimited
		result[i].InstanceMemoryLimit = unlimited

		if err = LoadFile(f, &result[i]); err != nil {
			lo.G.Error(err)
			return nil, err
		}
	}
	return result, nil
}
func (m *yamlManager) GetOrgConfigs() ([]OrgConfig, error) {
	files, err := FindFiles(m.ConfigDir, "orgConfig.yml")
	if err != nil {
		return nil, err
	}
	result := make([]OrgConfig, len(files))
	for i, f := range files {
		result[i].AppTaskLimit = unlimited
		result[i].AppInstanceLimit = unlimited
		result[i].TotalReservedRoutePorts = "0"
		result[i].TotalPrivateDomains = unlimited
		result[i].TotalServiceKeys = unlimited
		result[i].InstanceMemoryLimit = unlimited

		if err = LoadFile(f, &result[i]); err != nil {
			lo.G.Error(err)
			return nil, err
		}
	}
	return result, nil
}
// GetOrgConfigs reads all orgs from the cf-mgmt configuration.