Merge pull request #30957 from acceptacross/main

chore: fix some function names in comment
pull/30962/head
Robert Sirchia 4 months ago committed by GitHub
commit 3ebad60d3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -188,7 +188,7 @@ func (cfg *Configuration) hookHasDeletePolicy(h *release.Hook, policy release.Ho
return slices.Contains(h.DeletePolicies, policy)
}
// hookClearDeletePolicy determines whether the defined hook deletion policy matches the hook deletion polices
// hookSetDeletePolicy determines whether the defined hook deletion policy matches the hook deletion polices
// supported by helm. If so, mark the hook as one should be deleted.
func (cfg *Configuration) hookSetDeletePolicy(h *release.Hook) {
cfg.mutex.Lock()

@ -39,7 +39,7 @@ func LoadChartfile(filename string) (*chart.Metadata, error) {
return y, err
}
// StrictLoadChartFile loads a Chart.yaml into a *chart.Metadata using a strict unmarshaling
// StrictLoadChartfile loads a Chart.yaml into a *chart.Metadata using a strict unmarshaling
func StrictLoadChartfile(filename string) (*chart.Metadata, error) {
b, err := os.ReadFile(filename)
if err != nil {

Loading…
Cancel
Save