Skip to content

Commit b27d4b4

Browse files
committed
clean up import verifier error
1 parent dc73150 commit b27d4b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/import-verifier/import-verifier.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ func main() {
215215

216216
// make sure that all the allowed imports are used
217217
if unused := unusedPackageImports(restriction.AllowedImportPackages, packages); len(unused) > 0 {
218-
log.Printf("-- found unused package imports\n")
218+
log.Printf("-- found unused allowed package imports(remove them)\n")
219219
for _, unusedPackage := range unused {
220220
log.Printf("\t%s\n", unusedPackage)
221221
}
222222
failedRestrictionCheck = true
223223
}
224224
if unused := unusedPackageImportRoots(restriction.AllowedImportPackageRoots, packages); len(unused) > 0 {
225-
log.Printf("-- found unused package import roots\n")
225+
log.Printf("-- found unused allowed package import roots(remove them)\n")
226226
for _, unusedPackage := range unused {
227227
log.Printf("\t%s\n", unusedPackage)
228228
}

0 commit comments

Comments
 (0)