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

Commit

Permalink
fix columns
Browse files Browse the repository at this point in the history
Signed-off-by: Iaroslav Ciupin <[email protected]>
  • Loading branch information
iaroslav-ciupin committed Aug 23, 2023
1 parent d47dd59 commit 193a8ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
6 changes: 1 addition & 5 deletions pkg/repositories/gormimpl/node_execution_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ import (
"errors"
"fmt"

"k8s.io/apimachinery/pkg/util/sets"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"

"github.com/flyteorg/flytestdlib/promutils"

"gorm.io/gorm"
"k8s.io/apimachinery/pkg/util/sets"

adminErrors "github.com/flyteorg/flyteadmin/pkg/repositories/errors"
"github.com/flyteorg/flyteadmin/pkg/repositories/interfaces"
Expand All @@ -29,7 +26,6 @@ var NodeExecutionColumns = BaseColumnSet.
"duration",
"parent_id",
"parent_task_execution_id",
"parent_node_execution_id",
"error_kind",
"error_code",
"cache_status",
Expand Down
7 changes: 2 additions & 5 deletions pkg/repositories/gormimpl/task_execution_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ import (
"context"
"errors"

"k8s.io/apimachinery/pkg/util/sets"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"

"github.com/flyteorg/flytestdlib/promutils"

"gorm.io/gorm"
"k8s.io/apimachinery/pkg/util/sets"

flyteAdminDbErrors "github.com/flyteorg/flyteadmin/pkg/repositories/errors"
"github.com/flyteorg/flyteadmin/pkg/repositories/interfaces"
Expand All @@ -19,7 +16,7 @@ import (

var TaskExecutionColumns = BaseColumnSet.
Union(TaskKeyColumnSet).
Union(ExecutionKeyColumnSet).
Union(NodeExecutionKeyColumnSet).
Union(sets.NewString(
"retry_attempt",
"phase",
Expand Down
3 changes: 1 addition & 2 deletions pkg/repositories/gormimpl/workflow_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import (
"context"
"errors"

"k8s.io/apimachinery/pkg/util/sets"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flytestdlib/promutils"
"gorm.io/gorm"
"k8s.io/apimachinery/pkg/util/sets"

flyteAdminDbErrors "github.com/flyteorg/flyteadmin/pkg/repositories/errors"
"github.com/flyteorg/flyteadmin/pkg/repositories/interfaces"
Expand Down

0 comments on commit 193a8ad

Please sign in to comment.