This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-r847-6w6h-r8g4
* Fix list filters * Fix sort keys * split into 2 maps * move columns to models * move columns to models
- Loading branch information
1 parent
6c97bb9
commit b3177ef
Showing
51 changed files
with
500 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
package impl | ||
|
||
import ( | ||
"github.com/flyteorg/flyteadmin/pkg/common" | ||
"github.com/flyteorg/flyteadmin/pkg/errors" | ||
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin" | ||
"google.golang.org/grpc/codes" | ||
) | ||
|
||
func NewMissingEntityError(entity string) error { | ||
return errors.NewFlyteAdminErrorf(codes.NotFound, "Failed to find [%s]", entity) | ||
} | ||
|
||
var descCreatedAtSortParam = admin.Sort{ | ||
Direction: admin.Sort_DESCENDING, | ||
Key: "created_at", | ||
} | ||
|
||
var descCreatedAtSortDBParam, _ = common.NewSortParameter(descCreatedAtSortParam) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.