Skip to content

Commit

Permalink
Merge branch 'master' into shuning/bootstrap-time
Browse files Browse the repository at this point in the history
  • Loading branch information
nolouch committed May 18, 2017
2 parents b413bae + d72a30d commit a62739b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/typeutil/size.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type ByteSize uint64

// MarshalJSON returns the size as a JSON string.
func (b ByteSize) MarshalJSON() ([]byte, error) {
return []byte(`"` + gh.Bytes(uint64(b)) + `"`), nil
return []byte(`"` + gh.IBytes(uint64(b)) + `"`), nil
}

// UnmarshalJSON parses a JSON string into the bytesize.
Expand Down

0 comments on commit a62739b

Please sign in to comment.