Skip to content

Commit

Permalink
E-series should not choose a default media type
Browse files Browse the repository at this point in the history
Choosing hdd for a default media type prevents Trident from
installing on an EF-series (all-flash) array.
  • Loading branch information
clintonk committed Nov 17, 2017
1 parent dfeeb8a commit 434e31c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Added delete idempotency to the ontap-nas-economy driver as needed by Trident.
- Fixed an issue where qtrees with names near the 64-character limit could not
be deleted.
- Fixed an issue with volume creation on all-flash E-series arrays.

**Enhancements:**

Expand Down
2 changes: 1 addition & 1 deletion storage_drivers/eseries_iscsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (d *ESeriesStorageDriver) Create(name string, sizeBytes uint64, opts map[st
}

// Get media type, or default to "hdd" if not specified
mediaType := utils.GetV(opts, "mediaType", "hdd")
mediaType := utils.GetV(opts, "mediaType", "")

// Check for a supported file system type
fstype := strings.ToLower(utils.GetV(opts, "fstype|fileSystemType", "ext4"))
Expand Down

0 comments on commit 434e31c

Please sign in to comment.