Split Object Browser and Buckets Admin (#2500)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -43,6 +43,7 @@ type WSResponse struct {
|
||||
RequestID int64 `json:"request_id,nonempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
RequestEnd bool `json:"request_end,omitempty"`
|
||||
Prefix string `json:"prefix,omitempty"`
|
||||
Data []ObjectResponse `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -617,6 +617,7 @@ func (wsc *wsMinioClient) objectManager(session *models.Principal) {
|
||||
writeChannel <- WSResponse{
|
||||
RequestID: messageRequest.RequestID,
|
||||
Error: lsObj.Err.Error(),
|
||||
Prefix: messageRequest.Prefix,
|
||||
}
|
||||
|
||||
continue
|
||||
@@ -689,6 +690,7 @@ func (wsc *wsMinioClient) objectManager(session *models.Principal) {
|
||||
writeChannel <- WSResponse{
|
||||
RequestID: messageRequest.RequestID,
|
||||
Error: lsObj.Err.String(),
|
||||
Prefix: messageRequest.Prefix,
|
||||
}
|
||||
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user