Skip to content

Commit

Permalink
Merge branch 'add-jobs' of github.com:konstructio/colony into add-jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio committed Nov 19, 2024
2 parents cb1247d + 9ef58f1 commit b23188f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ func getInitCommand() *cobra.Command {

templates := []string{"ubuntu-focal-k3s-server.yaml", "ubuntu-focal.yaml", "discovery.yaml", "reboot.yaml", "ubuntu-focal-k3s-join.yaml"}
for _, template := range templates {

Check failure on line 248 in cmd/init.go

View workflow job for this annotation

GitHub Actions / run-tests

unnecessary leading newline (whitespace)
url := fmt.Sprintf("https://raw.githubusercontent.com/jarededwards/k3s-datacenter/refs/heads/main/templates/%s", template)

// TODO need to tag the repo and update this to leverage cli version
url := fmt.Sprintf("https://raw.githubusercontent.com/konstructio/colony/refs/heads/main/manifests/templates/%s", template)
filename := filepath.Join(pwd, "templates", template)

log.Infof("downloading template from %q into %q", url, filename)
Expand Down

0 comments on commit b23188f

Please sign in to comment.