Skip to content

Commit de3daa4

Browse files
committedMay 4, 2024··
ensure port is an int
1 parent 39756e4 commit de3daa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎rds_metadata_exporter/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main():
7373
parser.add_argument('--profile', help='optional profile')
7474
parser.add_argument('-r', '--region', help='optional profile')
7575
parser.add_argument('dbinstance')
76-
parser.add_argument('-p', '--port', default=8000)
76+
parser.add_argument('-p', '--port', type=int, default=8000)
7777
args = parser.parse_args()
7878

7979
print(f"rds-metadata-exporter started with arguments {args}")

0 commit comments

Comments
 (0)
Please sign in to comment.