Skip to content

Commit

Permalink
moar logging
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Apr 15, 2024
1 parent 81831e0 commit ebf5784
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions cmd/adhoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ func (a *Adhoc) NewServer(userConfig legacy.UserConfig, config legacy.Config) (S
GithubAppKeyFile: userConfig.GithubAppKeyFile,
GithubAppSlug: userConfig.GithubAppSlug,
GlobalCfg: globalCfg,
ValidationConfig: neptune.ValidationConfig{
DefaultVersion: globalCfg.PolicySets.Version,
Policies: globalCfg.PolicySets,
},
}
return adhoc.NewServer(cfg)
}
2 changes: 0 additions & 2 deletions server/neptune/adhoc/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,4 @@ type Config struct {
GithubHostname string

GlobalCfg valid.GlobalCfg

ValidationConfig neptune.ValidationConfig
}
3 changes: 2 additions & 1 deletion server/neptune/adhoc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
neptune_http "github.com/runatlantis/atlantis/server/neptune/http"
internalSync "github.com/runatlantis/atlantis/server/neptune/sync"
"github.com/runatlantis/atlantis/server/neptune/temporal"
neptune "github.com/runatlantis/atlantis/server/neptune/temporalworker/config"
"github.com/runatlantis/atlantis/server/neptune/workflows"
"github.com/runatlantis/atlantis/server/neptune/workflows/activities"
"github.com/runatlantis/atlantis/server/static"
Expand Down Expand Up @@ -108,7 +109,7 @@ func NewServer(config *adhocconfig.Config) (*Server, error) {

terraformActivities, err := activities.NewTerraform(
config.TerraformCfg,
config.ValidationConfig,
neptune.ValidationConfig{},
config.App,
config.DataDir,
config.ServerCfg.URL,
Expand Down

0 comments on commit ebf5784

Please sign in to comment.