Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Let fake advisor just echo the statement in the content

天舟c154c7a5c8d4
diff --git a/plugin/advisor/fake/fake_advisor.go b/plugin/advisor/fake/fake_advisor.go
index 1cb73a7c5c..d23a436d8f 100644
--- a/plugin/advisor/fake/fake_advisor.go
+++ b/plugin/advisor/fake/fake_advisor.go
@@ -24,17 +24,17 @@ func (adv *Advisor) Check(ctx advisor.AdvisorContext, statement string) ([]advis
{
Status: advisor.Success,
Title: "INFO check",
- Content: "Fake check returnings INFO result",
+ Content: statement,
},
{
Status: advisor.Warn,
Title: "WARN check",
- Content: "Fake check returnings WARN result",
+ Content: statement,
},
{
Status: advisor.Error,
Title: "ERROR check",
- Content: "Fake check returnings ERROR result",
+ Content: statement,
},
}, nil
}