We found the following error handlings missing in the code of the storage drivers. Though we've never encountered problems from these in production, I would like to report this just in case.
err from clientAPI.ExportRuleList() in reconcileExportPolicyRules().
Describe the bug
We found the following error handlings missing in the code of the storage drivers. Though we've never encountered problems from these in production, I would like to report this just in case.
err
fromclientAPI.ExportRuleList()
inreconcileExportPolicyRules()
.https://github.com/NetApp/trident/blob/37b01b8ee97fe50d19d7aeeabebb01411a85fb05/storage_drivers/ontap/ontap_common.go#L363-L365
err
fromc.ExportPolicyList()
inExportPolicyGetByName()
.https://github.com/NetApp/trident/blob/ad517c448cee0faef3c2c2fe81c81b8ca824264d/storage_drivers/ontap/api/ontap_rest.go#L3407-L3408
Environment