fix golint failures of pkg/capabilities
This commit is contained in:
@@ -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()
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user