Skip to content

Commit f30dec4

Browse files
committed
fix Sprint->Sprintf
1 parent f45b773 commit f30dec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/path/path.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func Paths(e *yang.Entry, p Path, ps *[]*Path, termcolor bool) {
118118

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

124124
//handling leafref

0 commit comments

Comments
 (0)