corrected how retrieve is instanciated
This commit is contained in:
parent
a788373c0f
commit
25d1c7ca39
@ -30,7 +30,7 @@ func (m *MinioController) CreateServiceAccount() {
|
|||||||
minioId := m.Ctx.Input.Param(":minioId")
|
minioId := m.Ctx.Input.Param(":minioId")
|
||||||
|
|
||||||
var b map[string]interface{}
|
var b map[string]interface{}
|
||||||
var retrieve bool
|
retrieve := false
|
||||||
json.Unmarshal(m.Ctx.Input.CopyBody(10000), &b)
|
json.Unmarshal(m.Ctx.Input.CopyBody(10000), &b)
|
||||||
if r, ok := b["retrieve"]; ok {
|
if r, ok := b["retrieve"]; ok {
|
||||||
retrieve = r.(bool)
|
retrieve = r.(bool)
|
||||||
|
Loading…
Reference in New Issue
Block a user