Skip to content

Commit

Permalink
feat(optimus): add result level on job validate
Browse files Browse the repository at this point in the history
  • Loading branch information
oky.setiawan committed Dec 10, 2024
1 parent 5709add commit 9a7c10f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gotocompany/optimus/core/v1beta1/job_spec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,17 @@ message ValidateRequest {
}

message ValidateResponse {
enum Level {
LEVEL_UNSPECIFIED = 0;
LEVEL_WARNING = 1;
LEVEL_ERROR = 2;
}

message Result {
string name = 1;
repeated string messages = 2;
bool success = 3;
optional Level level = 4;
}

message ResultList {
Expand Down

0 comments on commit 9a7c10f

Please sign in to comment.