Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
  • Loading branch information
bstadlbauer committed Jan 5, 2023
1 parent 0cde164 commit ee7a12a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/compiler/transformers/k8s/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strings"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteplugins/go/tasks/pluginmachinery/flytek8s"
"github.com/flyteorg/flytepropeller/pkg/apis/flyteworkflow/v1alpha1"
"github.com/flyteorg/flytepropeller/pkg/compiler/common"
"github.com/flyteorg/flytepropeller/pkg/compiler/errors"
"github.com/flyteorg/flyteplugins/go/tasks/pluginmachinery/flytek8s"
"github.com/go-test/deep"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 0 additions & 2 deletions pkg/utils/k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"github.com/golang/protobuf/ptypes"
"github.com/stretchr/testify/assert"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/flyteorg/flytepropeller/pkg/apis/flyteworkflow/v1alpha1"
Expand All @@ -30,7 +29,6 @@ func TestToK8sEnvVar(t *testing.T) {
assert.Empty(t, e)
}


func TestGetProtoTime(t *testing.T) {
assert.NotNil(t, GetProtoTime(nil))
n := time.Now()
Expand Down

0 comments on commit ee7a12a

Please sign in to comment.