Skip to content

Commit 196047f

Browse files
authored
Merge pull request kubernetes#73143 from micahhausler/code-generator-godoc-fix
Fixed import-boss godoc comment formatting
2 parents d820b50 + 010d210 commit 196047f

File tree

1 file changed

+7
-3
lines changed
  • staging/src/k8s.io/code-generator/cmd/import-boss

1 file changed

+7
-3
lines changed

staging/src/k8s.io/code-generator/cmd/import-boss/main.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ limitations under the License.
2222
//
2323
// If an ".import-restrictions" file is found, then all imports of the package
2424
// are checked against each "rule" in the file. A rule consists of three parts:
25-
// * A SelectorRegexp, to select the import paths that the rule applies to.
26-
// * A list of AllowedPrefixes
27-
// * A list of ForbiddenPrefixes
25+
//
26+
// - A SelectorRegexp, to select the import paths that the rule applies to.
27+
//
28+
// - A list of AllowedPrefixes
29+
//
30+
// - A list of ForbiddenPrefixes
31+
//
2832
// An import is allowed if it matches at least one allowed prefix and does not
2933
// match any forbidden prefix. An example file looks like this:
3034
//

0 commit comments

Comments
 (0)