Fix golangci-lint warnings #83
Annotations
10 errors and 2 warnings
golangci-lint:
cmd/csi-powerstore/main.go#L29
could not import github.com/dell/csi-powerstore/v2/pkg/controller (-: # github.com/dell/csi-powerstore/v2/pkg/controller
|
golangci-lint:
pkg/controller/controller.go#L749
nas.CurrentNodeID undefined (type gopowerstore.NAS has no field or method CurrentNodeID)
|
golangci-lint:
pkg/controller/controller.go#L753
nas.CurrentNodeID undefined (type gopowerstore.NAS has no field or method CurrentNodeID)
|
golangci-lint:
pkg/controller/creator.go#L171
createParams.ProtectionPolicyID undefined (type *gopowerstore.FsCreate has no field or method ProtectionPolicyID)
|
golangci-lint:
pkg/controller/publisher.go#L277
nas.CurrentPreferredIPv4InterfaceID undefined (type gopowerstore.NAS has no field or method CurrentPreferredIPv4InterfaceID)
|
golangci-lint:
pkg/controller/publisher.go#L282
fileInterface.IPAddress undefined (type gopowerstore.FileInterface has no field or method IPAddress)
|
golangci-lint:
pkg/controller/replication.go#L69
sp.LocalStorageElementID undefined (type gopowerstore.StorageElementPair has no field or method LocalStorageElementID)
|
golangci-lint:
pkg/controller/replication.go#L70
sp.RemoteStorageElementID undefined (type gopowerstore.StorageElementPair has no field or method RemoteStorageElementID)
|
golangci-lint:
pkg/controller/replication.go#L86
rs.RemoteSystemID undefined (type gopowerstore.ReplicationSession has no field or method RemoteSystemID)
|
golangci-lint:
pkg/controller/replication.go#L147
rs.RemoteSystemID undefined (type gopowerstore.ReplicationSession has no field or method RemoteSystemID)
|
golangci-lint:
pkg/identity/identity_test.go#L28
dot-imports: should not use dot imports (revive)
|
golangci-lint:
pkg/identity/identity_test.go#L30
dot-imports: should not use dot imports (revive)
|