Merge pull request #510 from bongbui321/setactiveslot_fix

Firehose: fix setting active slot for partition B
This commit is contained in:
Bjoern Kerler 2024-03-02 11:39:10 +01:00 committed by GitHub
commit fa58a5a688
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1311,8 +1311,8 @@ class firehose(metaclass=LogBase):
partslots["_a"] = True partslots["_a"] = True
partslots["_b"] = False partslots["_b"] = False
elif slot == "b": elif slot == "b":
partslots["_a"] = True partslots["_a"] = False
partslots["_b"] = False partslots["_b"] = True
fpartitions = {} fpartitions = {}
for lun in self.luns: for lun in self.luns:
lunname = "Lun" + str(lun) lunname = "Lun" + str(lun)