Skip to content

Commit

Permalink
Adding dummy version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasvinther committed Dec 13, 2021
1 parent 34f3a19 commit 374cc88
Show file tree
Hide file tree
Showing 6 changed files with 817 additions and 58 deletions.
8 changes: 6 additions & 2 deletions cmd/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/cobra"

"github.com/jonasvinther/nomad-gitops-operator/pkg/nomad"
"nomad-gitops-operator/pkg/nomad"
)

func init() {
Expand All @@ -22,7 +22,11 @@ var bootstrapCmd = &cobra.Command{

fmt.Println(repo)

nomad.Apply()
_, err := nomad.Apply()

if err != nil {
fmt.Printf("Error: %s\n", err)
}

return nil
},
Expand Down
6 changes: 1 addition & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ module nomad-gitops-operator
go 1.13

require (
github.com/hashicorp/hcl v1.0.1-0.20201016140508-a07e7d50bbee // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/hashicorp/nomad-openapi v0.0.0-20211206195704-37d950c8b53d
github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee
github.com/spf13/viper v1.10.0
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
)
Loading

0 comments on commit 374cc88

Please sign in to comment.