Skip to content

Commit c78e9aa

Browse files
author
Pooja Adhikari
committed
Final fix to not allow changing Service Kind.
1 parent b928c75 commit c78e9aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/HealthcareApis/HealthcareApis/HealthcareApis/SetAzureRmHealthcareApisService.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ private ServicesDescription GenerateServiceDescription(ServicesDescription healt
247247
AllowCredentials = AllowCorsCredential != healthcareApisAccount.Properties.CorsConfiguration.AllowCredentials ? healthcareApisAccount.Properties.CorsConfiguration.AllowCredentials : this.AllowCorsCredential.ToBool()
248248
},
249249
AccessPolicies = accessPolicies
250-
}
250+
},
251+
Kind = healthcareApisAccount.Kind
251252
};
252253
}
253254

@@ -277,7 +278,8 @@ private ServicesDescription InputObjectToServiceDescription(ServicesDescription
277278
AllowCredentials = InputObject.Properties.CorsConfiguration.AllowCredentials ?? healthcareApisAccount.Properties.CorsConfiguration.AllowCredentials
278279
},
279280
AccessPolicies = accessPolicies
280-
}
281+
},
282+
Kind = InputObject.Kind
281283
};
282284
}
283285
}

0 commit comments

Comments
 (0)