File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1005,12 +1005,8 @@ impl RedfishStandard {
10051005 match vendor {
10061006 // nvidia dgx systems may have both ami and nvidia as vendor strings depending on hw
10071007 // ami also ships its bmc fw for other system vendors.
1008- RedfishVendor :: AMI => {
1009- if self . system_id == "DGX" && self . manager_id == "BMC" {
1010- Ok ( Box :: new ( crate :: nvidia_viking:: Bmc :: new ( self . clone ( ) ) ?) )
1011- } else {
1012- Ok ( Box :: new ( crate :: ami:: Bmc :: new ( self . clone ( ) ) ?) )
1013- }
1008+ RedfishVendor :: AMI if self . system_id == "DGX" && self . manager_id == "BMC" => {
1009+ Ok ( Box :: new ( crate :: nvidia_viking:: Bmc :: new ( self . clone ( ) ) ?) )
10141010 }
10151011 RedfishVendor :: Dell => Ok ( Box :: new ( crate :: dell:: Bmc :: new ( self . clone ( ) ) ?) ) ,
10161012 RedfishVendor :: Hpe => Ok ( Box :: new ( crate :: hpe:: Bmc :: new ( self . clone ( ) ) ?) ) ,
You can’t perform that action at this time.
0 commit comments