From 5a4fdb57b61d3be47072c0474863d20888a10565 Mon Sep 17 00:00:00 2001 From: Shawna Monero Date: Fri, 9 Aug 2024 08:38:53 -0700 Subject: [PATCH] tidy --- server/legacy/server.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/legacy/server.go b/server/legacy/server.go index 7994df9af..942479243 100644 --- a/server/legacy/server.go +++ b/server/legacy/server.go @@ -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" @@ -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 @@ -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,