This repository was archived by the owner on Mar 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ func (r *CvmfsReceiver) reply() ([]byte, error) {
323323func parseReceiverReply (reply []byte ) (* ReceiverReply , error ) {
324324 res := & ReceiverReply {}
325325 if err := json .Unmarshal (reply , res ); err != nil {
326- return nil , errors .Wrap (err , "could not decode reply" )
326+ return nil , errors .Wrap (err , "could not decode receiver reply '" + string ( reply [:]) + "' " )
327327 }
328328 if res .Status != "ok" {
329329 return res , Error (res .Reason )
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ import (
1010)
1111
1212type PublishCounters struct {
13- ChunksAdded int64 `json:"n_chunks_added,string "`
14- ChunksDuplicated int64 `json:"n_chunks_duplicated,string "`
15- CatalogsAdded int64 `json:"n_catalogs_added,string "`
16- UploadedBytes int64 `json:"sz_uploaded_bytes,string "`
17- UploadedCatalogBytes int64 `json:"sz_uploaded_catalog_bytes,string "`
13+ ChunksAdded int64 `json:"n_chunks_added"`
14+ ChunksDuplicated int64 `json:"n_chunks_duplicated"`
15+ CatalogsAdded int64 `json:"n_catalogs_added"`
16+ UploadedBytes int64 `json:"sz_uploaded_bytes"`
17+ UploadedCatalogBytes int64 `json:"sz_uploaded_catalog_bytes"`
1818}
1919
2020type Statistics struct {
You can’t perform that action at this time.
0 commit comments