Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Commit

Permalink
Revised the warning message when users create non-default firewall ru…
Browse files Browse the repository at this point in the history
…les. (#2183)

Co-authored-by: Yixin Shi <[email protected]>
  • Loading branch information
yixinshi and Yixin Shi authored Aug 16, 2021
1 parent 327f317 commit c768eaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/cli/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
_DATALAB_FIREWALL_RULE_DESCRIPTION = 'Allow SSH access to Datalab instances'
_DATALAB_UNEXPECTED_FIREWALLS_WARNING_TEMPLATE = (
'The network `{0}` has firewall rules that were not created by the '
'`datalab` command line tool. Instances created in that network may '
'be open to traffic that they should not be exposed to.')
'`datalab` command line tool. Instances that have been created or existed '
'in that network may be open to traffic that they are not intended to due '
'to the customized firewall rules.')

_DATALAB_NO_FIREWALL_WARNING = (
'\nWarning: --no-firewall-rule requires firewall rules to be '
Expand Down

0 comments on commit c768eaa

Please sign in to comment.