소스 검색

fix: fix linter issues

Emmanuel Bouthenot 6 시간 전
부모
커밋
ff352ec533
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      autopostgresqlbackup

+ 5 - 2
autopostgresqlbackup

@@ -573,8 +573,11 @@ db_list () {
 # {{{ db_dump()
 db_dump () {
     case ${DBENGINE} in
-        postgresql|mysql)
-            ${DBENGINE}db_dump "${1}"
+        postgresql)
+            postgresqldb_dump "${1}"
+            ;;
+        mysql)
+            mysqldb_dump "${1}"
             ;;
         *)
             log_error "Unsupported database engine ${DBENGINE}, check DBENGINE configuration parameter"