rename parameter name to "disk"

This commit is contained in:
Chris Lu committed 2020-12-13 12:06:21 -08:00
1 parent 51eadaf2b6
commit 8baba93fce
7 files changed
+8 -8

No files matched your search

+1 -1
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
}