Skip to content

Commit e59d96e

Browse files
committed
updating code based on goyang changes
1 parent 7ea4f6b commit e59d96e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gotests/patterncheck/patterncheck.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
log "github.com/golang/glog"
2525

26-
yangutil "github.com/openconfig/goyang/pkg/util"
26+
yangentry "github.com/openconfig/goyang/pkg/yangentry"
2727
"github.com/openconfig/goyang/pkg/yang"
2828
"github.com/openconfig/ygot/util"
2929
)
@@ -37,7 +37,7 @@ var (
3737
// test cases specified for them. It ensures that the regexp compiles as a
3838
// POSIX regular expression according to the OpenConfig style guide.
3939
func CheckRegexps(yangfiles, paths []string) ([]string, error) {
40-
yangE, errs := yangutil.ProcessModules(yangfiles, paths)
40+
yangE, errs := yangentr.Parse(yangfiles, paths)
4141
if len(errs) != 0 {
4242
return nil, fmt.Errorf("could not parse modules: %v", errs)
4343
}

0 commit comments

Comments
 (0)