Skip to content

Conversation

alexeldeib
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

Codecov Report

Merging #12 (cf507eb) into main (4fdc922) will increase coverage by 0.81%.
The diff coverage is 78.78%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   71.58%   72.40%   +0.81%     
==========================================
  Files           5        6       +1     
  Lines         278      308      +30     
==========================================
+ Hits          199      223      +24     
- Misses         79       85       +6     
Impacted Files Coverage Δ
match.go 76.66% <76.66%> (ø)
sku.go 74.00% <100.00%> (ø)
cache.go 65.71% <0.00%> (+0.95%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4fdc922...cf507eb. Read the comment docs.

t.Errorf("expected to find virtual machine sku standard_d4s_v3")
}

match := Match(ctx, cache, &sku, "eastus")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this currently returns zero matches because == is too strict on capabilities, but you get the idea..

}

var capabilitiesToIgnore = map[string]bool{
MaxResourceVolumeMB: true,
Copy link
Contributor Author

@alexeldeib alexeldeib Jul 28, 2022

Choose a reason for hiding this comment

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

tried ignoring some, just fails matching different capabilities :D

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.

2 participants