mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-03 19:39:57 +08:00
consensus_hash might not be set
This commit is contained in:
@@ -123,7 +123,7 @@ def check( state_engine ):
|
||||
return False
|
||||
|
||||
# QUIRK: consensus hash not preserved
|
||||
if name_rec['consensus_hash'] is not None:
|
||||
if name_rec.has_key('consensus_hash') and name_rec['consensus_hash'] is not None:
|
||||
print "quirk not preserved: consensus hash is '%s'" % name_rec['consensus_hash']
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user