Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Aug 9, 2024
1 parent fbe5dee commit 5a4fdb5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/legacy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ import (
lyft_vcs "github.com/runatlantis/atlantis/server/legacy/events/vcs/lyft"
"github.com/runatlantis/atlantis/server/legacy/events/webhooks"
"github.com/runatlantis/atlantis/server/logging"
"github.com/runatlantis/atlantis/server/models"
"github.com/runatlantis/atlantis/server/vcs/markdown"
"github.com/urfave/cli"
"github.com/urfave/negroni"
Expand Down Expand Up @@ -162,8 +161,6 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) {
return nil, err
}

var supportedVCSHosts []models.VCSHostType

// not to be used directly, currently this is just used
// for reporting rate limits
var rawGithubClient *vcs.GithubClient
Expand Down Expand Up @@ -214,7 +211,6 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) {
}

if userConfig.GithubUser != "" || userConfig.GithubAppID != 0 {
supportedVCSHosts = append(supportedVCSHosts, models.Github)
if userConfig.GithubUser != "" {
githubCredentials = &vcs.GithubUserCredentials{
User: userConfig.GithubUser,
Expand Down

0 comments on commit 5a4fdb5

Please sign in to comment.