Skip to content

Commit

Permalink
更新版本信息
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjie727 committed Nov 25, 2023
1 parent f326cfb commit f3c91e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func init() {

// version
func (s *serverVersion) GetVersion(ctx context.Context, in *pb.GetVersionRequest) (*pb.GetVersionResponse, error) {
return &pb.GetVersionResponse{Major: 1, Minor: 2, Patch: 0}, nil
return &pb.GetVersionResponse{Major: 1, Minor: 3, Patch: 0}, nil
}

// UserService
Expand Down Expand Up @@ -2317,7 +2317,7 @@ func (s *serverJob) GetJobs(ctx context.Context, in *pb.GetJobsRequest) (*pb.Get
singerJobQos := singerJobInfo[10]
singerJobWorkingDirectory := singerJobInfo[15]
// singerJobtimeLimitMinutes, _ := strconv.Atoi(singerJobInfo[6])
if singerJobInfo[6] == "UNLIMITED" {
if singerJobInfo[6] == "UNLIMITED" || singerJobInfo[6] == "INVALID" {
singerJobtimeLimitMinutes = 0
} else {
singerJobtimeLimitMinutes = utils.GetTimeLimit(singerJobInfo[6])
Expand Down

0 comments on commit f3c91e5

Please sign in to comment.