Make filed optional flag for create setter

This commit is contained in:
Phani Teja Marupaka
2020-02-05 09:21:45 -08:00
parent 0b3e63c85d
commit 72e7084639
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,6 @@ func NewCreateSetterRunner(parent string) *CreateSetterRunner {
"create a partial setter for only part of the field value.")
fixDocs(parent, set)
set.MarkFlagRequired("type")
set.MarkFlagRequired("field")
r.Command = set
return r
}