-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#11 #12 issues fixed #8
Conversation
added last_modified job field @sashabaranov |
|
disneyland/server.go
Outdated
} | ||
complexError := retError.ErrorOrNil() | ||
if complexError != nil { | ||
return &ListOfJobs{Jobs: r}, detailedInternalError(complexError) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is hard to parse for client, who needs to know which jobs created, and which are not. I suggest modifying rpc return type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in which way rpc return type should be modified? how server response should look like?
disneyland/server.go
Outdated
if err != nil { | ||
return detailedInternalError(err) | ||
} | ||
fmt.Printf("Got %v", req) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use normal logging.
No description provided.