aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0/accounts.go
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-20 01:08:12 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-20 01:08:12 -0400
commit6777286ba15d5bd05d0fcd9921049761bf2f59c0 (patch)
treebbb47bcda4f98ebbf0cfa9c49a21b1077ff675cf /pkg/api/api0/accounts.go
parentf0051d99fd62a3776987bb25cf7f147022c2b93b (diff)
downloadAtlas-6777286ba15d5bd05d0fcd9921049761bf2f59c0.tar.gz
Atlas-6777286ba15d5bd05d0fcd9921049761bf2f59c0.zip
all: Make PdataStorage SetPdata return the stored pdata size
Diffstat (limited to 'pkg/api/api0/accounts.go')
-rw-r--r--pkg/api/api0/accounts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/accounts.go b/pkg/api/api0/accounts.go
index ed95ad1..c87530e 100644
--- a/pkg/api/api0/accounts.go
+++ b/pkg/api/api0/accounts.go
@@ -147,7 +147,7 @@ func (h *Handler) handleAccountsWritePersistence(w http.ResponseWriter, r *http.
}
}
- if err := h.PdataStorage.SetPdata(uid, buf); err != nil {
+ if _, err := h.PdataStorage.SetPdata(uid, buf); err != nil {
hlog.FromRequest(r).Error().
Err(err).
Uint64("uid", uid).