Skip to content
New issue

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

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

Already on GitHub? # to your account

Controller should use HEAD if GET is not available #3530

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

matthchr
Copy link
Member

@matthchr matthchr commented Nov 8, 2023

This fixes #3398.

Note that there are no tests for this (yet), but they will come when we add the APIM resources which don't have a body (which will come in a future PR). I've already confirmed that these tests pass.

If applicable:

  • this PR contains documentation
  • this PR contains tests

Copy link
Member

@theunrepentantgeek theunrepentantgeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor comments. Structure is good.

@matthchr matthchr added the microsoft.apimanagement Issues related to APIManagement resources label Nov 9, 2023
@theunrepentantgeek theunrepentantgeek modified the milestones: v2.4.0, v2.5.0 Nov 14, 2023
@matthchr matthchr force-pushed the feature/controller-use-head branch from 820a01f to 3b394f8 Compare November 17, 2023 22:59
@matthchr
Copy link
Member Author

/ok-to-test sha=3b394f8

@codecov-commenter
Copy link

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (cf4ed83) 52.91% compared to head (3b394f8) 53.10%.

Files Patch % Lines
...ilers/arm/azure_generic_arm_reconciler_instance.go 47.05% 8 Missing and 1 partial ⚠️
v2/pkg/genruntime/base_types.go 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3530      +/-   ##
==========================================
+ Coverage   52.91%   53.10%   +0.19%     
==========================================
  Files        1285     1285              
  Lines      401910   401924      +14     
==========================================
+ Hits       212666   213443     +777     
+ Misses     158640   157874     -766     
- Partials    30604    30607       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthchr matthchr force-pushed the feature/controller-use-head branch from 3b394f8 to 90da660 Compare November 18, 2023 00:14
@matthchr
Copy link
Member Author

/ok-to-test sha=90da660

@matthchr matthchr added this pull request to the merge queue Nov 19, 2023
Merged via the queue into Azure:main with commit 69eb381 Nov 19, 2023
@matthchr matthchr deleted the feature/controller-use-head branch November 19, 2023 16:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
microsoft.apimanagement Issues related to APIManagement resources
Projects
Development

Successfully merging this pull request may close these issues.

APIM: Generate types that have no body (e.g. ProductAPI)
4 participants