소스 검색

fix: fix a typo (#1522)

Signed-off-by: chenquan <chenquan.dev@foxmail.com>
chenquan 3 년 전
부모
커밋
1993faf2f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/mapping/yamlunmarshaler.go

+ 1 - 1
core/mapping/yamlunmarshaler.go

@@ -13,7 +13,7 @@ const yamlTagKey = "json"
 
 var (
 	// ErrUnsupportedType is an error that indicates the config format is not supported.
-	ErrUnsupportedType = errors.New("only map-like configs are suported")
+	ErrUnsupportedType = errors.New("only map-like configs are supported")
 
 	yamlUnmarshaler = NewUnmarshaler(yamlTagKey)
 )