Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to fix delete functionality #151

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

aristosvo
Copy link
Contributor

@aristosvo aristosvo commented Nov 16, 2022

Fixes #150

Not tested properly! And it only fixes the API object deletion, didn't check other objects. Probably needs to be implemented more generic to be useful.

@aristosvo
Copy link
Contributor Author

aristosvo commented Nov 16, 2022

Confirmed that it fixes #150

Publishing configurations from /home/vsts/work/1/s/Team-XXXX
/home/vsts/work/1
/home/vsts/work/1/s/overrides.sandbox.yaml
info: Publisher[0]
      Beginning execution...
info: Publisher[0]
      Getting files from commit ID 5b8edbc81dd984fab36acc21bf61540fcd60669a...
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/vsts/work/1/s
info: Publisher[0]
      Processing files deleted in commit ID...
info: Publisher[0]
      Deleting policy policy in API petstore-v7...
info: Publisher[0]
      Deleting API petstore-v7...
info: Publisher[0]
      Execution complete.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
Exit code is 0

@waelkdouh
Copy link
Contributor

@aristosvo thanks. We will review and merge accordingly.

@guythetechie
Copy link
Contributor

Thank you for identifying the issue and your contribution. PR approved.

@guythetechie guythetechie merged commit 828e314 into Azure:main Nov 17, 2022
@aristosvo aristosvo deleted the bug/checkIfFileExists branch November 17, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Publisher errors out when deleting an API
3 participants