Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1613552
)
print message if a server is not found, instead of failing with stack trace.
author
rread
<rread>
Thu, 12 Sep 2002 00:42:13 +0000
(
00:42
+0000)
committer
rread
<rread>
Thu, 12 Sep 2002 00:42:13 +0000
(
00:42
+0000)
lustre/utils/lconf
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf
b/lustre/utils/lconf
index
5d24ece
..
7a1ee27
100755
(executable)
--- a/
lustre/utils/lconf
+++ b/
lustre/utils/lconf
@@
-607,6
+607,8
@@
class Module:
def lookup_server(self, srv_uuid):
""" Lookup a server's network information """
net = get_ost_net(self.dom_node.parentNode, srv_uuid)
+ if not net:
+ panic ("Unable to find a server for:", srv_uuid)
self._server = Network(net)
def get_server(self):