Update classes to new Galera.groovy class
- remove duplicate line
Related: PROD-27561 (PROD:27561)
Change-Id: I681ac9393146490e7988137fedee8394d77f9e73
diff --git a/cloud-update.groovy b/cloud-update.groovy
index 3fd7723..28c5005 100644
--- a/cloud-update.groovy
+++ b/cloud-update.groovy
@@ -658,9 +658,8 @@
def restoreGalera(pepperEnv) {
def salt = new com.mirantis.mk.Salt()
def common = new com.mirantis.mk.Common()
- def openstack = new com.mirantis.mk.Openstack()
- salt.cmdRun(pepperEnv, 'I@xtrabackup:client', "rm -rf /var/lib/mysql/*")
- openstack.restoreGaleraDb(pepperEnv)
+ def galera = new com.mirantis.mk.Galera()
+ galera.restoreGaleraDb(pepperEnv)
}
def backupZookeeper(pepperEnv) {