-
-
Save timogoebel/d2e4ac9c51e495531b15815058cce927 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/controllers/concerns/foreman/controller/normalize_scsi_attributes.rb b/app/controllers/concerns/foreman/controller/normalize_scsi_attributes.rb | |
| index 4a4685c80..e8f0a6890 100644 | |
| --- a/app/controllers/concerns/foreman/controller/normalize_scsi_attributes.rb | |
| +++ b/app/controllers/concerns/foreman/controller/normalize_scsi_attributes.rb | |
| @@ -9,7 +9,7 @@ module Foreman::Controller::NormalizeScsiAttributes | |
| deep_symbolize_keys | |
| volumes = {} | |
| scsi_and_vol[:volumes].each_with_index do |vol, index| | |
| - volumes[index.to_s] = vol | |
| + volumes[index.to_s] = vol.except(:key) | |
| end | |
| attrs["scsi_controllers"] = scsi_and_vol[:scsi_controllers] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment