Fix linter exemptions in golint

We were having issues with golint not properly reporting declaration of functions
without proper documentation (comments). This is due to a config with golangci.

See: https://github.com/golangci/golangci-lint/issues/456
This commit is contained in:
Sargun Dhillon
2020-12-04 21:17:23 -08:00
parent ca84620958
commit bbe4551940
12 changed files with 24 additions and 16 deletions

View File

@@ -31,6 +31,8 @@ type Subscription interface {
Value() Value
}
// Value contains the last set value from Set(). If the value is unset the version will be 0, and the value will be
// nil.
type Value struct {
Value interface{}
Version int64

View File

@@ -183,7 +183,7 @@ func (f *Framework) GetRunningPodsFromProvider(ctx context.Context) (*corev1.Pod
return result, err
}
// GetRunningPodsFromProvider gets the running pods from the provider of the virtual kubelet
// GetRunningPodsFromKubernetes gets the running pods from the provider of the virtual kubelet
func (f *Framework) GetRunningPodsFromKubernetes(ctx context.Context) (*corev1.PodList, error) {
result := &corev1.PodList{}