From 5a5a7213dd95f30c7c16737898e941834fae1fae Mon Sep 17 00:00:00 2001 From: iwanghc Date: Mon, 12 Aug 2024 17:18:54 +0800 Subject: [PATCH] fix: audit plan get oracle instance type fix --- sqle/server/auditplan/task_type_oracle_topsql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqle/server/auditplan/task_type_oracle_topsql.go b/sqle/server/auditplan/task_type_oracle_topsql.go index 5014050c8..971a8784a 100644 --- a/sqle/server/auditplan/task_type_oracle_topsql.go +++ b/sqle/server/auditplan/task_type_oracle_topsql.go @@ -23,7 +23,7 @@ func NewOracleTopSQLTaskV2Fn() func() interface{} { } func (at *OracleTopSQLTaskV2) InstanceType() string { - return TypeOracleTopSQL + return InstanceTypeOracle } func (at *OracleTopSQLTaskV2) Params(instanceId ...string) params.Params {