mirror of
https://github.com/helm/helm.git
synced 2026-08-07 16:41:27 +00:00
Another Code review change
Signed-off-by: Aaron Mell <amell@lumindigital.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user