mirror of
https://github.com/helm/helm.git
synced 2026-04-23 07:07:30 -04:00
Another Code review change
Signed-off-by: Aaron Mell <amell@lumindigital.com>
This commit is contained in:
parent
851e016e90
commit
01d7657c1e
1 changed files with 3 additions and 2 deletions
|
|
@ -96,7 +96,8 @@ type RESTClientGetter interface {
|
|||
ToRESTMapper() (meta.RESTMapper, error)
|
||||
}
|
||||
|
||||
type debug func(format string, v ...interface{})
|
||||
// DebugLog sets the logger that writes debug strings
|
||||
type DebugLog func(format string, v ...interface{})
|
||||
|
||||
// capabilities builds a Capabilities from discovery information.
|
||||
func (c *Configuration) getCapabilities() (*chartutil.Capabilities, error) {
|
||||
|
|
@ -214,7 +215,7 @@ func (c *Configuration) recordRelease(r *release.Release) {
|
|||
}
|
||||
|
||||
// InitActionConfig initializes the action configuration
|
||||
func InitActionConfig(envSettings *cli.EnvSettings, allNamespaces bool, helmDriver string, log debug) (*Configuration, error) {
|
||||
func InitActionConfig(envSettings *cli.EnvSettings, allNamespaces bool, helmDriver string, log DebugLog) (*Configuration, error) {
|
||||
|
||||
var actionConfig Configuration
|
||||
kubeconfig := kubeConfig(envSettings)
|
||||
|
|
|
|||
Loading…
Reference in a new issue