We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b236c4 commit b2d1508Copy full SHA for b2d1508
service/task/target.go
@@ -16,7 +16,7 @@ type Targets []Target
16
// is updated.
17
type Target struct {
18
// An optional label for the target
19
- Name string `json:"name"`
+ Name string `required:"true" json:"name"`
20
21
// The repository URL to watch for changes, either http or ssh.
22
RepoURL string `required:"true" json:"url"`
0 commit comments