rename parameter name to "disk"

This commit is contained in:
Chris Lu
2020-12-13 12:06:21 -08:00
parent 51eadaf2b6
commit 8baba93fce
7 changed files with 8 additions and 8 deletions

View File

@@ -158,7 +158,7 @@ func (ms *MasterServer) getVolumeGrowOption(r *http.Request) (*topology.VolumeGr
if err != nil {
return nil, err
}
diskType, err := storage.ToDiskType(r.FormValue("diskType"))
diskType, err := storage.ToDiskType(r.FormValue("disk"))
if err != nil {
return nil, err
}