Commit f3084089 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-set-dnsserial-persist' into 'master'

Fix DNSZone serial field to persist.

See merge request noc/noc!6308
parents 79377b7d a6181ff6
......@@ -262,7 +262,7 @@ class DataStream(object):
if not fmt and cls.on_change(data):
hash = cls.get_hash(data)
if not is_changed(doc, hash):"[%s] Object hasn't been changed", l_name)"[%s] Object hasn't been changed after altering", l_name)
return False # Not changed after altering
metrics["ds_%s_changed" % m_name] += 1
change_id = bson.ObjectId()
......@@ -31,7 +31,8 @@ Ext.define("NOC.dns.dnszone.Model", {
name: "serial",
type: "int",
defaultValue: 0
defaultValue: 0,
persist: false
name: "profile",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment