Skip to content

Commit bfd20d2

Browse files
Enable API review approval check for Java spring packages (Azure#23362)
Co-authored-by: praveenkuttappan <[email protected]>
1 parent 72780aa commit bfd20d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/common/scripts/Create-APIReview.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ if ($packages)
140140
else
141141
{
142142
# Return error code if status code is 201 for new data plane package
143-
if ($pkgInfo.SdkType -eq "client" -and $pkgInfo.IsNewSdk)
143+
# Temporarily enable API review for spring SDK types. Ideally this should be done be using 'IsReviewRequired' method in language side
144+
# to override default check of SDK type client
145+
if (($pkgInfo.SdkType -eq "client" -or $pkgInfo.SdkType -eq "spring") -and $pkgInfo.IsNewSdk)
144146
{
145147
if ($respCode -eq '201')
146148
{

0 commit comments

Comments
 (0)