@@ -68,10 +68,10 @@ public List<AzureSqlServerServiceObjectiveModel> GetServiceObjective(string reso
68
68
var capabilities = CapabilitiesCommunicator . Get ( server . Location ) ;
69
69
70
70
return (
71
- from sv in FilterByName ( capabilities . SupportedServerVersions , server . Version )
72
- from e in sv . SupportedEditions
73
- from slo in FilterByName ( e . SupportedServiceLevelObjectives , serviceObjectiveName )
74
- select CreateServiceObjectiveModelFromResponse ( e , slo , resourceGroupName , serverName ) ) . ToList ( ) ;
71
+ from serverVersion in FilterByName ( capabilities . SupportedServerVersions , server . Version )
72
+ from edition in serverVersion . SupportedEditions
73
+ from serviceObjective in FilterByName ( edition . SupportedServiceLevelObjectives , serviceObjectiveName )
74
+ select CreateServiceObjectiveModelFromResponse ( edition , serviceObjective , resourceGroupName , serverName ) ) . ToList ( ) ;
75
75
}
76
76
77
77
/// <summary>
@@ -86,10 +86,10 @@ public List<AzureSqlServerServiceObjectiveModel> ListServiceObjectives(string re
86
86
var capabilities = CapabilitiesCommunicator . Get ( server . Location ) ;
87
87
88
88
return (
89
- from sv in FilterByName ( capabilities . SupportedServerVersions , server . Version )
90
- from e in sv . SupportedEditions
91
- from slo in e . SupportedServiceLevelObjectives
92
- select CreateServiceObjectiveModelFromResponse ( e , slo , resourceGroupName , serverName ) ) . ToList ( ) ;
89
+ from serverVersion in FilterByName ( capabilities . SupportedServerVersions , server . Version )
90
+ from edition in serverVersion . SupportedEditions
91
+ from serviceObjective in edition . SupportedServiceLevelObjectives
92
+ select CreateServiceObjectiveModelFromResponse ( edition , serviceObjective , resourceGroupName , serverName ) ) . ToList ( ) ;
93
93
}
94
94
95
95
/// <summary>
0 commit comments