Enable API review approval check for Java spring packages (#2759)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
This commit is contained in:
parent
512ae655b2
commit
0bc420af0a
@ -140,7 +140,9 @@ if ($packages)
|
||||
else
|
||||
{
|
||||
# Return error code if status code is 201 for new data plane package
|
||||
if ($pkgInfo.SdkType -eq "client" -and $pkgInfo.IsNewSdk)
|
||||
# Temporarily enable API review for spring SDK types. Ideally this should be done be using 'IsReviewRequired' method in language side
|
||||
# to override default check of SDK type client
|
||||
if (($pkgInfo.SdkType -eq "client" -or $pkgInfo.SdkType -eq "spring") -and $pkgInfo.IsNewSdk)
|
||||
{
|
||||
if ($respCode -eq '201')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user