improved an error message
This commit is contained in:
parent
10b4dac141
commit
67c312d0d6
@ -99,7 +99,7 @@ func (m *MinioController) createServiceAccount(minioId string, peerID string, ex
|
|||||||
live := findLiveStorage(minioId, peerID)
|
live := findLiveStorage(minioId, peerID)
|
||||||
if live == nil {
|
if live == nil {
|
||||||
m.Ctx.Output.SetStatus(404)
|
m.Ctx.Output.SetStatus(404)
|
||||||
m.Data["json"] = map[string]interface{}{"error": "could not find the Minio instance " + s.Err}
|
m.Data["json"] = map[string]interface{}{"error": "could not find the Minio instance for " + minioId}
|
||||||
m.ServeJSON()
|
m.ServeJSON()
|
||||||
return "", "", false
|
return "", "", false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user