Merge "Overriding the log path argument for tripleoclient cli" into stable/train
This commit is contained in:
commit
0925be31ab
|
@ -13,6 +13,7 @@
|
|||
# under the License.
|
||||
#
|
||||
import logging
|
||||
from tripleoclient import constants
|
||||
|
||||
from validations_libs.cli.history import GetHistory
|
||||
from validations_libs.cli.history import ListHistory
|
||||
|
@ -73,6 +74,8 @@ class TripleOValidatorRun(Run):
|
|||
|
||||
def get_parser(self, parser):
|
||||
parser = super(TripleOValidatorRun, self).get_parser(parser)
|
||||
parser.set_defaults(
|
||||
validations_log_dir=constants.VALIDATIONS_LOG_BASEDIR)
|
||||
return parser
|
||||
|
||||
|
||||
|
@ -83,6 +86,8 @@ class TripleOValidatorShowHistory(ListHistory):
|
|||
|
||||
def get_parser(self, parser):
|
||||
parser = super(TripleOValidatorShowHistory, self).get_parser(parser)
|
||||
parser.set_defaults(
|
||||
validations_log_dir=constants.VALIDATIONS_LOG_BASEDIR)
|
||||
return parser
|
||||
|
||||
|
||||
|
@ -93,4 +98,6 @@ class TripleOValidatorShowRun(GetHistory):
|
|||
|
||||
def get_parser(self, parser):
|
||||
parser = super(TripleOValidatorShowRun, self).get_parser(parser)
|
||||
parser.set_defaults(
|
||||
validations_log_dir=constants.VALIDATIONS_LOG_BASEDIR)
|
||||
return parser
|
||||
|
|
Loading…
Reference in New Issue