Skip to content

Commit 95346f1

Browse files
fix mongodb uninstall cleanup
1 parent 5fa4a15 commit 95346f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

agent/app/service/app_utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@ func deleteAppInstall(deleteReq request.AppInstallDelete) error {
425425
switch install.App.Key {
426426
case constant.AppMysql, constant.AppMariaDB, constant.AppMysqlCluster:
427427
_ = mysqlRepo.Delete(ctx, mysqlRepo.WithByMysqlName(install.Name))
428+
case constant.AppMongodb:
429+
_ = mongodbRepo.Delete(ctx, mongodbRepo.WithByMongodbName(install.Name))
428430
case constant.AppPostgresql, constant.AppPostgresqlCluster:
429431
_ = postgresqlRepo.Delete(ctx, postgresqlRepo.WithByPostgresqlName(install.Name))
430432
}

0 commit comments

Comments
 (0)