mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
chore: fix some minor issues in the comments
Signed-off-by: tsinglua <tsinglua@outlook.com>
This commit is contained in:
parent
2f51ffe93c
commit
259f181808
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ func VerifyPlugin(archiveData, provData []byte, filename, keyring string) (*prov
|
|||
return sig.Verify(archiveData, provData, filename)
|
||||
}
|
||||
|
||||
// isTarball checks if a file has a tarball extension
|
||||
// IsTarball checks if a file has a tarball extension
|
||||
func IsTarball(filename string) bool {
|
||||
return filepath.Ext(filename) == ".gz" || filepath.Ext(filename) == ".tgz"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ type ClientCreateOption func(*clientCreateOptions) error
|
|||
// ClientCreateOptionServerSideApply enables performing object apply server-side
|
||||
// see: https://kubernetes.io/docs/reference/using-api/server-side-apply/
|
||||
//
|
||||
// `forceConflicts` forces conflicts to be resolved (may be when serverSideApply enabled only)
|
||||
// `forceConflicts` forces conflicts to be resolved (may be used when serverSideApply enabled only)
|
||||
// see: https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts
|
||||
func ClientCreateOptionServerSideApply(serverSideApply, forceConflicts bool) ClientCreateOption {
|
||||
return func(o *clientCreateOptions) error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue