mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-22 10:36:57 +08:00
sync with new storage API for immutable data
This commit is contained in:
@@ -359,8 +359,8 @@ def store_name_zonefile_data(name, user_zonefile_txt, txid, storage_drivers=None
|
||||
data_hash = storage.get_zonefile_data_hash(user_zonefile_txt)
|
||||
|
||||
result = storage.put_immutable_data(
|
||||
None, txid, data_hash=data_hash,
|
||||
data_text=user_zonefile_txt, required=storage_drivers
|
||||
user_zonefile_txt, txid, data_hash=data_hash,
|
||||
required=storage_drivers
|
||||
)
|
||||
|
||||
rc = bool(result)
|
||||
|
||||
Reference in New Issue
Block a user