File tree Expand file tree Collapse file tree
iscsi/targetd/provisioner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,24 +47,24 @@ type volDestroyArgs struct {
4747type exportCreateArgs struct {
4848 Pool string `json:"pool"`
4949 Vol string `json:"vol"`
50- InitiatorWwn string `json:"InitiatorWwn "`
50+ InitiatorWwn string `json:"initiator_wwn "`
5151 Lun int32 `json:"lun"`
5252}
5353
5454type exportDestroyArgs struct {
5555 Pool string `json:"pool"`
5656 Vol string `json:"vol"`
57- InitiatorWwn string `json:"InitiatorWwn "`
57+ InitiatorWwn string `json:"initiator_wwn "`
5858}
5959
6060type iscsiProvisioner struct {
6161 targetdURL string
6262}
6363
6464type export struct {
65- InitiatorWwn string `json:"InitiatorWwn "`
65+ InitiatorWwn string `json:"initiator_wwn "`
6666 Lun int32 `json:"lun"`
67- VolName string `json:"vol name "`
67+ VolName string `json:"vol_name "`
6868 VolSize int `json:"vol_size"`
6969 VolUUID string `json:"vol_uuid"`
7070 Pool string `json:"pool"`
You can’t perform that action at this time.
0 commit comments