Skip to content

Commit

Permalink
fix param hash calculate logic
Browse files Browse the repository at this point in the history
Change-Id: I7ecc0edf42af2634d57e9f759fd14ef90b3574ad
  • Loading branch information
AoranAllen committed Aug 28, 2023
1 parent dc1f313 commit ba0590e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/core/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ func DecodeFeatureHash(featureHash string) (featureName string, builtinParamHash
}

func GenBuiltinParamHash(builtinParam typedef.MetaType) string {
builtinParamStr := emptyParamMapHash
builtinParamStr := ""
if !tools.IsNil(builtinParam) {
builtinParamStr, _ = sonic.MarshalString(builtinParamStr)
builtinParamStr, _ = sonic.MarshalString(builtinParam)
if builtinParamStr == "" {
return emptyParamMapHash
}
Expand Down

0 comments on commit ba0590e

Please sign in to comment.