Skip to content

Commit

Permalink
Merge pull request #4434 from zenoss/feature/ZEN-34358.1
Browse files Browse the repository at this point in the history
ZEN-34358: fix schema migration versions
  • Loading branch information
Deer-WarLord authored May 9, 2024
2 parents 6cc621d + 0b90cf9 commit aace7e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Products/ZenModel/migrate/addConfigCacheProperties.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from Products.ZenRelations.zPropertyCategory import setzPropertyCategory

from . import Migrate
from Products.ZenModel.ZMigrateVersion import SCHEMA_MAJOR, SCHEMA_MINOR, SCHEMA_REVISION


_properties = (
Expand Down Expand Up @@ -73,7 +72,7 @@ class addConfigCacheProperties(Migrate.Step):
zDeviceConfigPendingTimeout z-properties to /Devices.
"""

version = Migrate.Version(SCHEMA_MAJOR, SCHEMA_MINOR, SCHEMA_REVISION)
version = Migrate.Version(300, 2, 1)

def cutover(self, dmd):
for args, kwargs in _properties:
Expand Down
1 change: 0 additions & 1 deletion Products/ZenModel/migrate/zensyslogSvcDefForMsgParsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from servicemigration.metrics import Metric
from servicemigration.graphdatapoint import GraphDatapoint


log = logging.getLogger("zen.migrate")
svcNamesToUpdate = ['zensyslog']
sm.require("1.0.0")
Expand Down
2 changes: 1 addition & 1 deletion SCHEMA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
300.2.0
300.2.1

0 comments on commit aace7e5

Please sign in to comment.