You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
If a service already has existing arguments, the user should be required to indicate intent to replacing them.
E.g. assume a SQL Server service named database with defined docker launch args:
$ st add database mssql-server
$ st args docker database -- -e ACCEPT_EULA=y
Set the 'docker' deployment environment argument(s) for service 'database' to '-e ACCEPT_EULA=y'
The following should fail, but currently it simply overwrites existing args:
$ st args docker database -- -e ACCEPT_EULA=n
Set the 'docker' deployment environment argument(s) for service 'database' to '-e ACCEPT_EULA=n'
A better behavior would be something like:
$ st args docker database -- -e ACCEPT_EULA=n
'docker' deployment environment argument(s) for service 'database' already exist.
Run with '--force' to replace.
$ st args docker database --force -- -e ACCEPT_EULA=n
Set the 'docker' deployment environment argument(s) for service 'database' to '-e ACCEPT_EULA=n'
The text was updated successfully, but these errors were encountered:
If a service already has existing arguments, the user should be required to indicate intent to replacing them.
E.g. assume a SQL Server service named
database
with defined docker launch args:The following should fail, but currently it simply overwrites existing args:
A better behavior would be something like:
The text was updated successfully, but these errors were encountered: