We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c277ffc commit 9ab5bfeCopy full SHA for 9ab5bfe
iscsi/iscsi.go
@@ -52,7 +52,7 @@ type Connector struct {
52
Multipath bool `json:"multipath"`
53
RetryCount int32 `json:"retry_count"`
54
CheckInterval int32 `json:"check_interval"`
55
- DoDiscoverydb bool `json:"do_discovery"`
+ DoDiscovery bool `json:"do_discovery"`
56
DoCHAPDiscovery bool `json:"do_chap_discovery"`
57
}
58
@@ -281,7 +281,7 @@ func Connect(c Connector) (string, error) {
281
282
283
284
- if c.DoDiscoverydb {
+ if c.DoDiscovery {
285
// build discoverydb and discover iscsi target
286
if err := Discoverydb(p, iFace, c.DiscoverySecrets, c.DoCHAPDiscovery); err != nil {
287
debug.Printf("Error in discovery of the target: %s\n", err.Error())
0 commit comments