Merge pull request #31321 from juejinyuxitu/main

chore: fix some typos in comment
This commit is contained in:
Matt Farina 2025-09-24 05:41:46 -04:00 committed by GitHub
commit 6717ea5e3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ import (
"helm.sh/helm/v4/internal/plugin/schema" "helm.sh/helm/v4/internal/plugin/schema"
) )
// SubprocessProtocolCommand maps a given protocol to the getter command used to retrieve artifacts for that protcol // SubprocessProtocolCommand maps a given protocol to the getter command used to retrieve artifacts for that protocol
type SubprocessProtocolCommand struct { type SubprocessProtocolCommand struct {
// Protocols are the list of schemes from the charts URL. // Protocols are the list of schemes from the charts URL.
Protocols []string `yaml:"protocols"` Protocols []string `yaml:"protocols"`

View File

@ -1031,7 +1031,7 @@ func patchResourceClientSide(original runtime.Object, target *resource.Info, thr
} }
// upgradeClientSideFieldManager is simply a wrapper around csaupgrade.UpgradeManagedFields // upgradeClientSideFieldManager is simply a wrapper around csaupgrade.UpgradeManagedFields
// that ugrade CSA managed fields to SSA apply // that upgrade CSA managed fields to SSA apply
// see: https://github.com/kubernetes/kubernetes/pull/112905 // see: https://github.com/kubernetes/kubernetes/pull/112905
func upgradeClientSideFieldManager(info *resource.Info, dryRun bool, fieldValidationDirective FieldValidationDirective) (bool, error) { func upgradeClientSideFieldManager(info *resource.Info, dryRun bool, fieldValidationDirective FieldValidationDirective) (bool, error) {

View File

@ -142,7 +142,7 @@ func NewRequestResponseLogClient(t *testing.T, cb RoundTripperTestFunc) RequestR
} }
// RequestResponseLogClient is a test client that logs requests and responses // RequestResponseLogClient is a test client that logs requests and responses
// Satifying http.RoundTripper interface, it can be used to mock HTTP requests in tests. // Satisfying http.RoundTripper interface, it can be used to mock HTTP requests in tests.
// Forwarding requests to a callback function (cb) that can be used to simulate server responses. // Forwarding requests to a callback function (cb) that can be used to simulate server responses.
type RequestResponseLogClient struct { type RequestResponseLogClient struct {
t *testing.T t *testing.T