Merge pull request #5180 from dmcgowan/lint-enforce-comments

Fix exported comments enforcer in CI
This commit is contained in:
Phil Estes
2021-03-15 10:50:06 -04:00
committed by GitHub
32 changed files with 148 additions and 46 deletions

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
// config package containers utilities for helping configure the Docker resolver
// Package config contains utilities for helping configure the Docker resolver
package config
import (

View File

@@ -56,6 +56,7 @@ const (
// Reserved for future capabilities (i.e. search, catalog, remove)
)
// Has checks whether the capabilities list has the provide capability
func (c HostCapabilities) Has(t HostCapabilities) bool {
return c&t == t
}