Skip to content

Commit

Permalink
fix DeployPrivateKudu to not use deprecated apis
Browse files Browse the repository at this point in the history
  • Loading branch information
suwatch authored and davidebbo committed Oct 26, 2016
1 parent 91313ac commit 9023d18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Setup/DeployPrivateKudu.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ if NOT EXIST "%_CURLEXE%" (
)

@echo.
@echo "%_CURLEXE%" -k -v -T "%_KUDUZIP%" "%_SCMURI%/zip"
@echo "%_CURLEXE%" -k -v -T "%_KUDUZIP%" "%_SCMURI%/api/zip"
@echo.
@call "%_CURLEXE%" -k -v -T "%_KUDUZIP%" "%_SCMURI%/zip"
@call "%_CURLEXE%" -k -v -T "%_KUDUZIP%" "%_SCMURI%/api/zip"
@echo.
@call "%_CURLEXE%" -k -X DELETE "%_SCMURI%/diagnostics/processes/0" >nul 2>&1
@call "%_CURLEXE%" -k -X DELETE "%_SCMURI%/api/processes/0" >nul 2>&1
if "%ERRORLEVEL%" equ "0" (
@echo - w3wp.exe restarted
)
Expand Down

0 comments on commit 9023d18

Please sign in to comment.