Skip to content

Commit 28b949a

Browse files
committed
fix: nginx config build
1 parent b638ac0 commit 28b949a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hathor_cli/nginx_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def main():
395395
help='Input file with OpenAPI json, if not specified the spec is generated on-the-fly')
396396
parser.add_argument('--fallback-visibility', type=Visibility, default=Visibility.PRIVATE,
397397
help='Set the visibility for paths without `x-visibility`, defaults to private')
398-
parser.add_argument('--disable-rate-limits', type=bool, default=False,
398+
parser.add_argument('--disable-rate-limits', action='store_true', default=False,
399399
help='Disable including rate-limits in the config, defaults to False')
400400
parser.add_argument('--override', type=str, default='',
401401
help='Override visibility for paths with `x-visibility-override` for the given value')

0 commit comments

Comments
 (0)