mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Log the octoDNS version as part of Manager.__init__ info line
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
to do so, but weren't. There was an ordering before, but it was essentially
|
||||
arbitrarily picked.
|
||||
|
||||
#### Stuff
|
||||
|
||||
* Manager includes the octoDNS version in its init log line
|
||||
|
||||
## v0.9.16 - 2022-03-04 - Manage the root of the problem
|
||||
|
||||
#### Noteworthy changes
|
||||
|
||||
+3
-1
@@ -11,6 +11,7 @@ from os import environ
|
||||
from sys import stdout
|
||||
import logging
|
||||
|
||||
from . import __VERSION__
|
||||
from .provider.base import BaseProvider
|
||||
from .provider.plan import Plan
|
||||
from .provider.yaml import SplitYamlProvider, YamlProvider
|
||||
@@ -84,7 +85,8 @@ class Manager(object):
|
||||
return len(plan.changes[0].record.zone.name) if plan.changes else 0
|
||||
|
||||
def __init__(self, config_file, max_workers=None, include_meta=False):
|
||||
self.log.info('__init__: config_file=%s', config_file)
|
||||
self.log.info('__init__: config_file=%s (octoDNS %s)', config_file,
|
||||
__VERSION__)
|
||||
|
||||
# Read our config file
|
||||
with open(config_file, 'r') as fh:
|
||||
|
||||
Reference in New Issue
Block a user