Merge pull request #77001 from SataQiu/fix-golint-capabilities-20190424

Fix golint failures of pkg/capabilities
k3s-v1.15.3
Kubernetes Prow Robot 2019-04-25 13:37:17 -07:00 committed by GitHub
commit 35cbe3f849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,6 @@ pkg/apis/storage/v1
pkg/apis/storage/v1/util
pkg/apis/storage/v1beta1
pkg/apis/storage/v1beta1/util
pkg/capabilities
pkg/cloudprovider/providers/fake
pkg/cloudprovider/providers/photon
pkg/controller

View File

@ -76,7 +76,7 @@ func SetForTests(c Capabilities) {
capInstance.capabilities = &c
}
// Returns a read-only copy of the system capabilities.
// Get returns a read-only copy of the system capabilities.
func Get() Capabilities {
capInstance.lock.Lock()
defer capInstance.lock.Unlock()

View File

@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// package capabilities manages system level capabilities
// Package capabilities manages system level capabilities
package capabilities // import "k8s.io/kubernetes/pkg/capabilities"