Revision f64c9de6 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
89 | 89 |
raise errors.OpPrereqError("Required parameter '%s' missing" % |
90 | 90 |
attr_name) |
91 | 91 |
|
92 |
if not cfg.IsCluster(): |
|
92 |
if not self.cfg.IsCluster():
|
|
93 | 93 |
raise errors.OpPrereqError("Cluster not initialized yet," |
94 | 94 |
" use 'gnt-cluster init' first.") |
95 | 95 |
if self.REQ_MASTER: |
Also available in: Unified diff