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

add GetFamilyName() functionality in skewer #11

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

gandhipr
Copy link
Contributor

GetFamilyName() return Family name of the SKU.

// GetFamilyName returns the family name of this resource sku. It normalizes pointers
// to the empty string for comparison purposes. For example,
// "standardDSv2Family" for a virtual machine.
func (s *SKU) GetFamilyName() string {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you add a unit test on this function in data_test.go? https://github.com/Azure/skewer/blob/main/data_test.go

@alexeldeib alexeldeib merged commit 4fdc922 into Azure:main Mar 10, 2022
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.

None yet

2 participants