Merge pull request #31002 from curlwget/main

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

@ -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