diff --git a/storage_drivers/ontap/api/abstraction_rest.go b/storage_drivers/ontap/api/abstraction_rest.go index 6c0533ffc..458b564dc 100644 --- a/storage_drivers/ontap/api/abstraction_rest.go +++ b/storage_drivers/ontap/api/abstraction_rest.go @@ -2521,7 +2521,7 @@ func (d OntapAPIREST) LunListIgroupsMapped(ctx context.Context, lunPath string) names = append(names, *records.Igroup.Name) } } - return names, err + return names, nil } // IgroupListLUNsMapped returns a list LUNs mapped to the igroup @@ -2542,7 +2542,7 @@ func (d OntapAPIREST) IgroupListLUNsMapped(ctx context.Context, initiatorGroupNa names = append(names, *records.Lun.Name) } } - return names, err + return names, nil } // LunMapGetReportingNodes returns a list of LUN map details