Skip to content

Commit

Permalink
Fix for issue openconfig#75, multiple augment statments in Uses state…
Browse files Browse the repository at this point in the history
…ment

Signed-off-by: Johan Nemitz <[email protected]>
  • Loading branch information
johannemitzcisco committed Mar 2, 2022
1 parent de640d0 commit a14f7be
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/yang/yang.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,13 +624,13 @@ type Uses struct {
Parent Node `yang:"Parent,nomerge" json:"-"`
Extensions []*Statement `yang:"Ext" json:"-"`

Augment *Augment `yang:"augment" json:",omitempty"`
Description *Value `yang:"description" json:",omitempty"`
IfFeature []*Value `yang:"if-feature" json:"-"`
Refine []*Refine `yang:"refine" json:"-"`
Reference *Value `yang:"reference" json:"-"`
Status *Value `yang:"status" json:"-"`
When *Value `yang:"when" json:",omitempty"`
Augment []*Augment `yang:"augment" json:",omitempty"`
Description *Value `yang:"description" json:",omitempty"`
IfFeature []*Value `yang:"if-feature" json:"-"`
Refine []*Refine `yang:"refine" json:"-"`
Reference *Value `yang:"reference" json:"-"`
Status *Value `yang:"status" json:"-"`
When *Value `yang:"when" json:",omitempty"`
}

func (Uses) Kind() string { return "uses" }
Expand Down

0 comments on commit a14f7be

Please sign in to comment.