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:
@@ -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
|
||||
|
||||
@@ -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{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user