Unverified Commit 70af7ba4 authored by Taylor Thomas's avatar Taylor Thomas Committed by GitHub

Merge pull request #6271 from 928234269/patch-1

fix typo
parents 256765aa 627283ac
...@@ -41,7 +41,7 @@ message Status { ...@@ -41,7 +41,7 @@ message Status {
PENDING_INSTALL = 6; PENDING_INSTALL = 6;
// Status_PENDING_UPGRADE indicates that an upgrade operation is underway. // Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
PENDING_UPGRADE = 7; PENDING_UPGRADE = 7;
// Status_PENDING_ROLLBACK indicates that an rollback operation is underway. // Status_PENDING_ROLLBACK indicates that a rollback operation is underway.
PENDING_ROLLBACK = 8; PENDING_ROLLBACK = 8;
} }
......
...@@ -479,7 +479,7 @@ Furthermore, A is dependent on chart B that creates objects ...@@ -479,7 +479,7 @@ Furthermore, A is dependent on chart B that creates objects
- replicaset "B-ReplicaSet" - replicaset "B-ReplicaSet"
- service "B-Service" - service "B-Service"
After installation/upgrade of chart A a single Helm release is created/modified. The release will After installation/upgrade of chart A, a single Helm release is created/modified. The release will
create/update all of the above Kubernetes objects in the following order: create/update all of the above Kubernetes objects in the following order:
- A-Namespace - A-Namespace
......
...@@ -658,7 +658,7 @@ func createPatch(target *resource.Info, current runtime.Object) ([]byte, types.P ...@@ -658,7 +658,7 @@ func createPatch(target *resource.Info, current runtime.Object) ([]byte, types.P
// Get a versioned object // Get a versioned object
versionedObject, err := asVersioned(target) versionedObject, err := asVersioned(target)
// Unstructured objects, such as CRDs, may not have an not registered error // Unstructured objects, such as CRDs, may not have a not registered error
// returned from ConvertToVersion. Anything that's unstructured should // returned from ConvertToVersion. Anything that's unstructured should
// use the jsonpatch.CreateMergePatch. Strategic Merge Patch is not supported // use the jsonpatch.CreateMergePatch. Strategic Merge Patch is not supported
// on objects like CRDs. // on objects like CRDs.
......
...@@ -38,7 +38,7 @@ const ( ...@@ -38,7 +38,7 @@ const (
Status_PENDING_INSTALL Status_Code = 6 Status_PENDING_INSTALL Status_Code = 6
// Status_PENDING_UPGRADE indicates that an upgrade operation is underway. // Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
Status_PENDING_UPGRADE Status_Code = 7 Status_PENDING_UPGRADE Status_Code = 7
// Status_PENDING_ROLLBACK indicates that an rollback operation is underway. // Status_PENDING_ROLLBACK indicates that a rollback operation is underway.
Status_PENDING_ROLLBACK Status_Code = 8 Status_PENDING_ROLLBACK Status_Code = 8
) )
......
...@@ -50,7 +50,7 @@ func (s *Storage) Get(name string, version int32) (*rspb.Release, error) { ...@@ -50,7 +50,7 @@ func (s *Storage) Get(name string, version int32) (*rspb.Release, error) {
// Create creates a new storage entry holding the release. An // Create creates a new storage entry holding the release. An
// error is returned if the storage driver failed to store the // error is returned if the storage driver failed to store the
// release, or a release with identical an key already exists. // release, or a release with identical key already exists.
func (s *Storage) Create(rls *rspb.Release) error { func (s *Storage) Create(rls *rspb.Release) error {
s.Log("creating release %q", makeKey(rls.Name, rls.Version)) s.Log("creating release %q", makeKey(rls.Name, rls.Version))
if s.MaxHistory > 0 { if s.MaxHistory > 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment