lint
This commit is contained in:
@@ -27,8 +27,14 @@ func (this *InstallClass) NewUninstall() (string, error) {
|
||||
this.Version = version
|
||||
|
||||
// Lecture du fichier de conf
|
||||
this.tools = tool.FromConfigFile(dst)
|
||||
this.charts = chart.FromConfigFile(dst)
|
||||
this.tools, err = tool.FromConfigFile(dst)
|
||||
if err != nil {
|
||||
return dst, err
|
||||
}
|
||||
this.charts, _ = chart.FromConfigFile(dst)
|
||||
if err != nil {
|
||||
return dst, err
|
||||
}
|
||||
|
||||
return dst, nil
|
||||
}
|
||||
@@ -66,4 +72,4 @@ func (this *InstallClass) uninstallChart(helm_bin string, kubectl_bin string, ch
|
||||
return
|
||||
}
|
||||
log.Log().Info().Msg(fmt.Sprintf(" >> %s (%s)", helmchart.Name, res))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user