Skip to content

Commit 35cbe3f

Browse files
authored
Merge pull request kubernetes#77001 from SataQiu/fix-golint-capabilities-20190424
Fix golint failures of pkg/capabilities
2 parents 5b43333 + c66f636 commit 35cbe3f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

hack/.golint_failures

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ pkg/apis/storage/v1
5555
pkg/apis/storage/v1/util
5656
pkg/apis/storage/v1beta1
5757
pkg/apis/storage/v1beta1/util
58-
pkg/capabilities
5958
pkg/cloudprovider/providers/fake
6059
pkg/cloudprovider/providers/photon
6160
pkg/controller

pkg/capabilities/capabilities.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func SetForTests(c Capabilities) {
7676
capInstance.capabilities = &c
7777
}
7878

79-
// Returns a read-only copy of the system capabilities.
79+
// Get returns a read-only copy of the system capabilities.
8080
func Get() Capabilities {
8181
capInstance.lock.Lock()
8282
defer capInstance.lock.Unlock()

pkg/capabilities/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// package capabilities manages system level capabilities
17+
// Package capabilities manages system level capabilities
1818
package capabilities // import "k8s.io/kubernetes/pkg/capabilities"

0 commit comments

Comments
 (0)