Skip to content

Commit

Permalink
change to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Apr 18, 2024
1 parent 8dc95e2 commit 7faed46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/config/raw/global_cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ type GlobalCfg struct {

type AdhocMode struct {
Repo string `yaml:"repo" json:"repo"`
Root string `yaml:"root" json:"root"`
Revision string `yaml:"revision" json:"revision"`
Branch string `yaml:"branch" json:"branch"`
}

func (t AdhocMode) ToValid() valid.AdhocMode {
return valid.AdhocMode{
Repo: t.Repo,
Root: t.Root,
Revision: t.Revision,
Branch: t.Branch,
}
}

Expand Down
2 changes: 1 addition & 1 deletion server/config/valid/global_cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ type GlobalCfg struct {

type AdhocMode struct {
Repo string
Root string
Revision string
Branch string
}

type GithubTeam struct {
Expand Down

0 comments on commit 7faed46

Please sign in to comment.