Uninstall
This commit is contained in:
@@ -88,6 +88,14 @@ func (this HelmChart) Uninstall() (string, error) {
|
||||
|
||||
log.Log().Info().Msg(" >> Chart : " + this.Name)
|
||||
|
||||
existe, err := this.exists()
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
if ! existe {
|
||||
return "Non présent", nil
|
||||
}
|
||||
|
||||
msg := fmt.Sprintf("%s uninstall %s", bin, this.Name)
|
||||
log.Log().Debug().Msg(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user