chore: fix function in comment

Signed-off-by: curlwget <curlwget@icloud.com>
pull/31002/head
curlwget 3 months ago
parent a2a0935cba
commit bfc1af68fb

@ -133,7 +133,7 @@ func TestDependencyEnabled(t *testing.T) {
} }
} }
// extractCharts recursively searches chart dependencies returning all charts found // extractChartNames recursively searches chart dependencies returning all charts found
func extractChartNames(c *chart.Chart) []string { func extractChartNames(c *chart.Chart) []string {
var out []string var out []string
var fn func(c *chart.Chart) var fn func(c *chart.Chart)

@ -117,7 +117,7 @@ func (hw *legacyWaiter) isRetryableHTTPStatusCode(httpStatusCode int32) bool {
return httpStatusCode == 0 || httpStatusCode == http.StatusTooManyRequests || (httpStatusCode >= 500 && httpStatusCode != http.StatusNotImplemented) return httpStatusCode == 0 || httpStatusCode == http.StatusTooManyRequests || (httpStatusCode >= 500 && httpStatusCode != http.StatusNotImplemented)
} }
// waitForDeletedResources polls to check if all the resources are deleted or a timeout is reached // WaitForDelete polls to check if all the resources are deleted or a timeout is reached
func (hw *legacyWaiter) WaitForDelete(deleted ResourceList, timeout time.Duration) error { func (hw *legacyWaiter) WaitForDelete(deleted ResourceList, timeout time.Duration) error {
slog.Debug("beginning wait for resources to be deleted", "count", len(deleted), "timeout", timeout) slog.Debug("beginning wait for resources to be deleted", "count", len(deleted), "timeout", timeout)

Loading…
Cancel
Save