Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add a start time parameter to debug-log endpoint #6633
Conversation
| + if err != nil { | ||
| + return nil, errors.Errorf("start time %q is not a valid time in RFC3339 format", value) | ||
| + } | ||
| + if startTime.After(time.Now()) { |
mjs
Nov 30, 2016
Contributor
I'm a bit sceptical about this one. What if the controller's clock currently wrong and it has logs from the "future"?
|
Merge error - correcting now. |
babbageclunk
added some commits
Nov 30, 2016
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 2f1e53a
into
juju:develop
Nov 30, 2016
babbageclunk
deleted the
babbageclunk:debuglog-start
branch
Nov 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
babbageclunk commentedNov 30, 2016
This is needed to make the migration log transfer step
restartable without too many duplicated log records.
Add the start time parameter to the client, but not to the debug-log
command at the moment. I'll add a bug to add it there.