Skip to content

Commit

Permalink
Fix a little bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leonwanghui authored Jun 8, 2017
1 parent 0bdbc32 commit da89278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/osdslet/northbound/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (this *VolumeAttachmentController) Post() {
this.Ctx.Output.Header("Content-Type", "application/json")
this.Ctx.Output.ContentType("application/json")

volId := this.Ctx.Input.Param(":id")
volId := this.Ctx.Input.Param(":volId")
reqBody, err := ioutil.ReadAll(this.Ctx.Request.Body)
if err != nil {
log.Println("Read volume request body failed:", err)
Expand Down

0 comments on commit da89278

Please sign in to comment.