mirror of https://github.com/helm/helm.git
Merge pull request #31321 from juejinyuxitu/main
chore: fix some typos in comment
This commit is contained in:
commit
6717ea5e3c
|
@ -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"`
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue