diff --git a/bool.go b/bool.go index 463ccb5..4c06c71 100644 --- a/bool.go +++ b/bool.go @@ -85,6 +85,6 @@ func (ab *AtomicBool) UnmarshalJSON(b []byte) error { return err } - ab.SetTo(v) - return nil + ab.SetTo(v) + return nil }