Skip to content

Commit

Permalink
Merge branch 'config' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseung-of-dable committed Mar 18, 2022
2 parents a047ea1 + 819970d commit cd3b8cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0a1"
__version__ = "1.1.0a2"
6 changes: 4 additions & 2 deletions get-vpn-ip
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import os
from typing import List
from pathlib import Path

import configargparse
import vv_configargparse
from vv_edge_info.edge_info import get_edge_info_df


Expand Down Expand Up @@ -43,7 +43,9 @@ def main(include_api_live_inventory: bool,
if __name__ == '__main__':
change_working_directory()

parser = configargparse.ArgParser(default_config_files=['bin/deploy/vpn-config.ini'])
parser = vv_configargparse.ArgumentParser(default_config_path='bin/deploy/vpn-config.ini',
overriding_config_name='vv-deploy-actions-config.ini',
allow_overriding=False)
parser.add_argument('-c', '--config', is_config_file=True, help='config file path')
parser.add_argument('--include-api-live-inventory', action='store_true',
help='live inventory를 결과에 포함시킬지 여부.')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ConfigArgparse
vv-configargparse==1.0.0
vv-edge-info==1.0.1

0 comments on commit cd3b8cb

Please sign in to comment.