Skip to content

Commit

Permalink
changed debug to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitin Kumar authored and dwoz committed May 18, 2020
1 parent cd9e114 commit d773e5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions salt/modules/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def install_config(path=None, **kwargs):

config_diff = None
if db_mode in ["dynamic", "ephemeral"]:
log.debug("diff is not supported for dynamic and ephemeral")
log.warning("diff is not supported for dynamic and ephemeral")
else:
config_diff = cu.diff()
if config_diff is None:
Expand All @@ -966,7 +966,7 @@ def install_config(path=None, **kwargs):
# Assume commit_check succeeds and initialize variable check
check = True
if db_mode in ["dynamic", "ephemeral"]:
log.debug("commit check not supported for dynamic and ephemeral")
log.warning("commit check not supported for dynamic and ephemeral")
else:
try:
check = cu.commit_check()
Expand Down
8 changes: 2 additions & 6 deletions tests/unit/proxy/test_junos.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# -*- coding: utf-8 -*-
import salt.proxy.junos as junos

import sys
import salt.proxy.junos as junos

# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.mock import MagicMock, patch
from tests.support.unit import TestCase, skipIf

if sys.version < "3":
from salt.ext.six import StringIO
else:
from io import BytesIO as StringIO
from io import BytesIO as StringIO

try:
from jnpr.junos.device import Device # pylint: disable=unused-import
Expand Down

0 comments on commit d773e5c

Please sign in to comment.