[rhel6-branch] fix: zfcp.startup() survives without an interface (#604542).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the fix is consistent with iscsi.startup() and fcoe.startup().
---
 storage/zfcp.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/zfcp.py b/storage/zfcp.py
index ddbeab9..829a282 100644
--- a/storage/zfcp.py
+++ b/storage/zfcp.py
@@ -393,7 +393,7 @@ class ZFCP:
             except ValueError, e:
                 log.warn(str(e))
 
-    def startup(self, intf):
+    def startup(self, intf=None):
         self.intf = intf
         if not self.down:
             return
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux