Skip to content

Commit

Permalink
Merge pull request runatlantis#1250 from gezb/feature/fix_help_apply_…
Browse files Browse the repository at this point in the history
…disabled

Set ApplyDisabled on CommentParser to fix atlantis help output with --apply-disabled set
  • Loading branch information
lkysow authored Nov 3, 2020
2 parents a5432f8 + 9a0cfd3 commit cb7dd0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit cb7dd0e

Please sign in to comment.