Merge pull request #56774 from CaoShuFeng/mustrunas

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

rename mustrunas to capabilities

The file context has nothing to do with `mustrunas`, so it's quite
odd to use `mustrunas` as the file name. I guess it's copied from other
places.


**Release note**:
```release-note
NONE
```

fixes #57227
pull/6/head
Kubernetes Submit Queue 2017-12-15 06:31:42 -08:00 committed by GitHub
commit 722cb7a758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ load(
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = [ srcs = [
"capabilities.go",
"doc.go", "doc.go",
"mustrunas.go",
"types.go", "types.go",
], ],
importpath = "k8s.io/kubernetes/pkg/security/podsecuritypolicy/capabilities", importpath = "k8s.io/kubernetes/pkg/security/podsecuritypolicy/capabilities",
@ -24,7 +24,7 @@ go_library(
go_test( go_test(
name = "go_default_test", name = "go_default_test",
srcs = ["mustrunas_test.go"], srcs = ["capabilities_test.go"],
importpath = "k8s.io/kubernetes/pkg/security/podsecuritypolicy/capabilities", importpath = "k8s.io/kubernetes/pkg/security/podsecuritypolicy/capabilities",
library = ":go_default_library", library = ":go_default_library",
deps = [ deps = [