mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Merge pull request #30957 from acceptacross/main
chore: fix some function names in comment
This commit is contained in:
commit
3ebad60d3c
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue