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

feat: adds a validation hook #498

Closed
wants to merge 1 commit into from

Conversation

faiq
Copy link
Contributor

@faiq faiq commented Apr 11, 2024

the new version of d2iq-labs#56

adds a validation hook for #497

@faiq faiq force-pushed the faiq/new-helm-repo branch from 89af502 to 77f3c6d Compare April 11, 2024 16:07
@faiq faiq force-pushed the faiq/new-helm-repo-validation-hook branch from 505477e to 7762832 Compare April 11, 2024 16:09
@faiq faiq self-assigned this Apr 16, 2024
return "HelmRegistryValidator"
}

func (h *HelmRegistryValidator) ValidateTopology(
Copy link
Contributor

Choose a reason for hiding this comment

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

can we please add a unit test for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Im not sure about this particular function, but we can split it out to be more testable

}

//nolint:gocritic // no need for named results
func GetRuntimhookVariableByName(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
func GetRuntimhookVariableByName(
func GetRuntimehookVariableByName(

@faiq faiq closed this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants