Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
order of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Nov 21, 2019
1 parent 18a51ac commit 1dd24aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Conch/Validation/SataSsdNum.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub validate {
# Intel SATA SSDs and there's no other identifier. Here, we want
# to avoid missing failed/missing disks, so we jump through a couple
# extra hoops.
if ($self->hardware_legacy_product_name // '' eq "Joyent-Compute-Platform-3302") {
if (($self->hardware_legacy_product_name // '') eq "Joyent-Compute-Platform-3302") {
if ($sata_ssd_count <= 8) { $sata_ssd_want = 8; }
if ($sata_ssd_count > 8) { $sata_ssd_want = 16; }
}
Expand Down

0 comments on commit 1dd24aa

Please sign in to comment.