-
Notifications
You must be signed in to change notification settings - Fork 18.9k
remove execCreate&execStart from job #12472
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
Conversation
|
@wonderflow Thanks for the work here. Can we move this from using env to use type safe functions/structs? |
|
@cpuguy83 So do you mean to rewrite a new way to decode http messages? |
|
@cpuguy83 I have known what you mean. Thanks. Let me change it. |
b66a33f to
8d7999d
Compare
8d7999d to
34afabb
Compare
34afabb to
fe43c5b
Compare
fe43c5b to
c1ca84a
Compare
c1ca84a to
48997c0
Compare
48997c0 to
846300f
Compare
|
@wonderflow a lot of tests failing :) |
|
@LK4D4 thanks, I will fix it soon. |
846300f to
8afeb2e
Compare
|
@duglin squashed. |
daemon/exec.go
Outdated
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.
Let's switch these from Stdout and Stderr, to stdout and stderr
|
Also needs another rebase already, sorry. |
71d2d48 to
a3a8af6
Compare
a3a8af6 to
47abb0d
Compare
47abb0d to
5e6d7e8
Compare
|
@cpuguy83 I've done it. Thanks! |
api/server/server.go
Outdated
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.
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.
Okay, can be temp type here.
f836ab3 to
903bc55
Compare
api/server/server.go
Outdated
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.
why you creating this at all if you later switch it to outStream? Also I'm pretty sure that using os.Stderr directly in daemon is not right thing.
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 left by the old code, I'll remove it then. @LK4D4
7ee736b to
7688eaf
Compare
Also removed the function ExecConfigFromJob Signed-off-by: Sun Jianbo <wonderflow@zju.edu.cn>
7688eaf to
9aaaa90
Compare
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.
I think name := vars["name] is more idiomatic
|
Two minor code formatting issue, that are not blocking at all. Besides that, it looks good to me so far. |
Relating with #12151
Also remove the function
ExecConfigFromJob.Signed-off-by: Sun Jianbo wonderflow@zju.edu.cn