From 833e96eaf7627da637a67ce21b04a6b6b9b98321 Mon Sep 17 00:00:00 2001 From: kevincatty Date: Wed, 12 Mar 2025 10:31:26 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: kevincatty --- go/base/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/base/context.go b/go/base/context.go index 8a09c43a8..92b6ca406 100644 --- a/go/base/context.go +++ b/go/base/context.go @@ -931,7 +931,7 @@ func (this *MigrationContext) ReadConfigFile() error { return nil } -// getGhostTriggerName generates the name of a ghost trigger, based on original trigger name +// GetGhostTriggerName generates the name of a ghost trigger, based on original trigger name // or a given trigger name func (this *MigrationContext) GetGhostTriggerName(triggerName string) string { if this.RemoveTriggerSuffix && strings.HasSuffix(triggerName, this.TriggerSuffix) { @@ -941,7 +941,7 @@ func (this *MigrationContext) GetGhostTriggerName(triggerName string) string { return triggerName + this.TriggerSuffix } -// validateGhostTriggerLength check if the ghost trigger name length is not more than 64 characters +// ValidateGhostTriggerLengthBelowMaxLength check if the ghost trigger name length is not more than 64 characters func (this *MigrationContext) ValidateGhostTriggerLengthBelowMaxLength(triggerName string) bool { ghostTriggerName := this.GetGhostTriggerName(triggerName)