move Restart and Templating to config options

and run gofmt

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-03-29 08:17:35 +05:30
parent 5a69e2729d
commit c263b5890e
2 changed files with 40 additions and 44 deletions

View File

@@ -6,8 +6,6 @@ type Source struct {
Token string `json:"token"`
ConsulToken string `json:"consul_token"`
VaultToken string `json:"vault_token"`
Templating bool `json:"templating"`
Restart bool `json:"restart"`
}
type JobVersion struct {