Skip to content

Commit

Permalink
fix Updater mad that directories is unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Nov 2, 2023
1 parent 898ae06 commit acaaecf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/model/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ type Job struct {

// Source is a reference to some source code
type Source struct {
Provider string `json:"provider" yaml:"provider,omitempty"`
Repo string `json:"repo" yaml:"repo,omitempty"`
Directory string `json:"directory" yaml:"directory,omitempty"`
Directories []string `json:"directories" yaml:"directories,omitempty"`
Branch *string `json:"branch" yaml:"branch,omitempty"`
Commit string `json:"commit,omitempty" yaml:"commit,omitempty"`
Provider string `json:"provider" yaml:"provider,omitempty"`
Repo string `json:"repo" yaml:"repo,omitempty"`
Directory string `json:"directory" yaml:"directory,omitempty"`
Directories []string `json:"directories,omitempty" yaml:"directories,omitempty"`
Branch *string `json:"branch" yaml:"branch,omitempty"`
Commit string `json:"commit,omitempty" yaml:"commit,omitempty"`

Hostname *string `json:"hostname" yaml:"hostname,omitempty"` // Must be provided if APIEndpoint is
APIEndpoint *string `json:"api-endpoint" yaml:"api-endpoint,omitempty"` // Must be provided if Hostname is
Expand Down

0 comments on commit acaaecf

Please sign in to comment.