Skip to content
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

Merged
merged 15 commits into from
Dec 5, 2017
Merged

#11 #12 issues fixed #8

merged 15 commits into from
Dec 5, 2017

Conversation

andreiSaw
Copy link
Contributor

No description provided.

@andreiSaw andreiSaw changed the title bidi rpc and batch import #7 issue #6 issue fixed Nov 20, 2017
@andreiSaw
Copy link
Contributor Author

added last_modified job field @sashabaranov

@andreiSaw
Copy link
Contributor Author

before
screen shot 2017-11-21 at 02 17 19

@andreiSaw
Copy link
Contributor Author

after
screen shot 2017-11-21 at 02 17 49

@andreiSaw
Copy link
Contributor Author

ALTER TABLE jobs ADD last_modified TIMESTAMP WITHOUT TIME ZONE DEFAULT (now() AT TIME ZONE 'utc'); ALTER TABLE jobs ALTER COLUMN status SET DEFAULT 0;

}
complexError := retError.ErrorOrNil()
if complexError != nil {
return &ListOfJobs{Jobs: r}, detailedInternalError(complexError)
Copy link
Contributor

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.

Copy link
Contributor Author

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?

if err != nil {
return detailedInternalError(err)
}
fmt.Printf("Got %v", req)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use normal logging.

@andreiSaw andreiSaw changed the title #6 issue fixed #11 #12 issues fixed Nov 24, 2017
@andreiSaw
Copy link
Contributor Author

#11 #12 fix

@sashabaranov sashabaranov merged commit 4fb02c9 into skygrid:master Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants