From 9a0cfd3c53eb42df628dd2b45c927d600f0c95e9 Mon Sep 17 00:00:00 2001 From: Gerald Barker Date: Sun, 1 Nov 2020 20:42:15 +0000 Subject: [PATCH] Set ApplyDisabled on CommentParser to fix help output --- server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.go b/server/server.go index a35b5b4519..5e8ee13c2d 100644 --- a/server/server.go +++ b/server/server.go @@ -341,6 +341,7 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) { GitlabUser: userConfig.GitlabUser, BitbucketUser: userConfig.BitbucketUser, AzureDevopsUser: userConfig.AzureDevopsUser, + ApplyDisabled: userConfig.DisableApply, } defaultTfVersion := terraformClient.DefaultVersion() pendingPlanFinder := &events.DefaultPendingPlanFinder{}