Skip to content

Commit

Permalink
chore: feat all gitlab functions
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Dec 13, 2023
1 parent d2899c1 commit 8327b34
Show file tree
Hide file tree
Showing 4 changed files with 641 additions and 41 deletions.
2 changes: 1 addition & 1 deletion pkg/sparrow/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func New(cfg *config.Config) *Sparrow {
cCfgChecks: make(chan map[string]any, 1),
routingTree: api.NewRoutingTree(),
router: chi.NewRouter(),
targets: targets.NewGitlabManager(targets.NewGitlabClient("targetsRepo", "gitlabToken"), 5*time.Minute, 15*time.Minute),
targets: targets.NewGitlabManager(targets.NewGitlab("targetsRepo", "gitlabToken"), 5*time.Minute, 15*time.Minute),
}

sparrow.loader = config.NewLoader(cfg, sparrow.cCfgChecks)
Expand Down
Loading

0 comments on commit 8327b34

Please sign in to comment.