Skip to content

Commit

Permalink
Merge pull request #257 from akutz/bugfix/isilon-root-clients
Browse files Browse the repository at this point in the history
Isilon Root Client Fix
  • Loading branch information
akutz authored Sep 6, 2016
2 parents aa35804 + 1a93736 commit 0c62429
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/storage/isilon/storage/isilon_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func (d *driver) VolumeAttach(
return nil, "", goof.WithError("problem exporting volume", err)
}
// see if anyone is attached already
clients, err := d.client.GetExportRootClientsByID(ctx, exportID)
clients, err := d.client.GetExportClientsByID(ctx, exportID)
if err != nil {
return nil, "", goof.WithError("problem getting export client", err)
}
Expand Down Expand Up @@ -429,7 +429,7 @@ func (d *driver) VolumeDetach(
return nil, goof.WithError("problem getting export", err)
}

clients, err := d.client.GetExportRootClientsByID(ctx, export.ID)
clients, err := d.client.GetExportClientsByID(ctx, export.ID)
if err != nil {
return nil, goof.WithError("problem getting export client", err)
}
Expand All @@ -443,7 +443,7 @@ func (d *driver) VolumeDetach(

if len(newClients) > 0 {
log.WithField("clients", clients).Info("setting exports")
err = d.client.SetExportRootClientsByID(ctx, export.ID, newClients...)
err = d.client.SetExportClientsByID(ctx, export.ID, newClients...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0c62429

Please sign in to comment.