TUN-3514: Stop setting --is-autoupdated flag after autoupdate because it can break named tunnel running in k8s

This commit is contained in:
cthuang 2020-11-13 11:47:55 +00:00 committed by Chung Ting Huang
parent 9ae5f306bf
commit c40cb7dc56
1 changed files with 0 additions and 1 deletions

View File

@ -202,7 +202,6 @@ func (a *AutoUpdater) Run(ctx context.Context) error {
if a.configurable.enabled {
updateOutcome := loggedUpdate(a.logger, updateOptions{})
if updateOutcome.Updated {
os.Args = append(os.Args, "--is-autoupdated=true")
if IsSysV() {
// SysV doesn't have a mechanism to keep service alive, we have to restart the process
a.logger.Info("Restarting service managed by SysV...")