Skip to content

Commit

Permalink
fix name split issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xitongsys committed Jan 17, 2021
1 parent 3cbddcd commit 9ba912f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/common.go
Expand Up @@ -77,7 +77,7 @@ func StringToTag(tag string) *Tag {
for _, tag := range tags {
tag = strings.TrimSpace(tag)

kv := strings.Split(tag, "=")
kv := strings.SplitN(tag, "=", 2)

key := kv[0]
key = strings.ToLower(key)
Expand Down
1 change: 1 addition & 0 deletions go.mod
Expand Up @@ -6,5 +6,6 @@ require (
github.com/apache/thrift v0.13.1-0.20201008052519-daf620915714
github.com/golang/snappy v0.0.1
github.com/klauspost/compress v1.10.5
github.com/pkg/errors v0.9.1
github.com/xitongsys/parquet-go-source v0.0.0-20200817004010-026bad9b25d0
)
1 change: 1 addition & 0 deletions go.sum
Expand Up @@ -87,6 +87,7 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/pborman/getopt v0.0.0-20180729010549-6fdd0a2c7117/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
Expand Down

0 comments on commit 9ba912f

Please sign in to comment.