Skip to content

Commit

Permalink
avoid formating string
Browse files Browse the repository at this point in the history
Signed-off-by: cfzjywxk <lsswxrxr@163.com>
  • Loading branch information
cfzjywxk committed Mar 3, 2023
1 parent a89c575 commit 7ed5956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/request_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func WithInternalSourceType(ctx context.Context, source string) context.Context
// IsRequestSourceInternal checks whether the input request source type is internal type.
func IsRequestSourceInternal(reqSrc *RequestSource) bool {
isInternal := false
if reqSrc != nil && IsInternalRequest(reqSrc.GetRequestSource()) {
if reqSrc != nil && reqSrc.RequestSourceInternal {
isInternal = true
}
return isInternal
Expand Down

0 comments on commit 7ed5956

Please sign in to comment.