mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
fixed bug
This commit is contained in:
@@ -33,7 +33,8 @@ func (u unitSizeVar) String() string {
|
||||
return strconv.Itoa(int(u))
|
||||
}
|
||||
|
||||
func (u unitSizeVar) Set(s string) error {
|
||||
u = unitSizeVar(parseDataUnit(s))
|
||||
func (u *unitSizeVar) Set(s string) error {
|
||||
*u = unitSizeVar(parseDataUnit(s))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user