Skip to content

Commit

Permalink
fix Sprint->Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Sep 6, 2020
1 parent f45b773 commit f30dec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/path/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func Paths(e *yang.Entry, p Path, ps *[]*Path, termcolor bool) {

// if the immediate type is identityref
if e.Node.(*yang.Leaf).Type.IdentityBase != nil {
p.SType += typeColor.Sprint("->%v", e.Node.(*yang.Leaf).Type.IdentityBase.Name)
p.SType += typeColor.Sprintf("->%v", e.Node.(*yang.Leaf).Type.IdentityBase.Name)
}

//handling leafref
Expand Down

0 comments on commit f30dec4

Please sign in to comment.