Skip to content

Commit

Permalink
fix: initial registration is now aware of scheme (#152)
Browse files Browse the repository at this point in the history
Signed-off-by: Niklas Treml <[email protected]>
  • Loading branch information
niklastreml authored Jun 10, 2024
1 parent 87769c1 commit 442992b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sparrow/targets/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (t *manager) register(ctx context.Context) error {
AuthorEmail: fmt.Sprintf("%s@sparrow", t.name),
AuthorName: t.name,
CommitMessage: "Initial registration",
Content: checks.GlobalTarget{Url: fmt.Sprintf("https://%s", t.name), LastSeen: time.Now().UTC()},
Content: checks.GlobalTarget{Url: fmt.Sprintf("%s://%s", t.cfg.Scheme, t.name), LastSeen: time.Now().UTC()},
}
f.SetFileName(fmt.Sprintf("%s.json", t.name))

Expand Down

0 comments on commit 442992b

Please sign in to comment.