Skip to content

Commit

Permalink
fix: 'requirements' in ansibleplaybookv2 should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rainzm committed May 21, 2020
1 parent 899c31d commit 77e5801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ansibleserver/models/ansibleplaybooks_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type SAnsiblePlaybookV2 struct {

Playbook string `length:"text" nullable:"false" create:"required" get:"user"`
Inventory string `length:"text" nullable:"false" create:"required" get:"user"`
Requirements string `length:"test" nullable:"false" create:"required" get:"user"`
Requirements string `length:"test" nullable:"false" create:"optional" get:"user"`
Files string `length:"text" nullable:"false" create:"optional" get:"user"`
Output string `length:"medium" get:"user"`
StartTime time.Time `list:"user"`
Expand Down

0 comments on commit 77e5801

Please sign in to comment.