Merge pull request #6979 from lindhe/explain_revision_version_in_get

Add comments about release Version variable
pull/8411/head
Matthew Fisher 4 years ago committed by GitHub
commit fc6d6d3605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,7 @@ import (
type Get struct {
cfg *Configuration
// Initializing Version to 0 will get the latest revision of the release.
Version int
}

@ -33,7 +33,7 @@ type Release struct {
Manifest string `json:"manifest,omitempty"`
// Hooks are all of the hooks declared for this release.
Hooks []*Hook `json:"hooks,omitempty"`
// Version is an int which represents the version of the release.
// Version is an int which represents the revision of the release.
Version int `json:"version,omitempty"`
// Namespace is the kubernetes namespace of the release.
Namespace string `json:"namespace,omitempty"`

Loading…
Cancel
Save