-
Notifications
You must be signed in to change notification settings - Fork 255
Conversation
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
4f0f8db
to
b2fac74
Compare
CI workflows need to be fixed to include build happening on fork (green now for this PR) |
b2fac74
to
0561e6b
Compare
This will require a follow up PR in node-sdk to add volumes API, and add a volume sample (already tested, working on ACI context) |
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.
Generally looks good, only minor issues
88d9a85
to
4838da9
Compare
server/proxy/volumes.go
Outdated
return nil, errors.Wrapf(errdefs.ErrNotImplemented, "volume API only available in ACI context") | ||
} | ||
aciReq := req.GetAciOption() | ||
if aciReq == nil { |
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 check should be in the backend too no?
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.
Actually we need to read the gRPC param and convert it into params for the backend. We can just pass an empty storage account by default and let the backend return the error, that would avoid different errors for different code paths, yes.
4838da9
to
b74540c
Compare
…cific parameters, proxy volume creation Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
b74540c
to
b9d6c2e
Compare
@@ -36,9 +36,12 @@ var ( | |||
"/com.docker.api.protos.containers.v1.Containers/Kill": "kill", | |||
"/com.docker.api.protos.containers.v1.Containers/Inspect": "inspect", | |||
"/com.docker.api.protos.containers.v1.Containers/Logs": "logs", | |||
"/com.docker.api.protos.streams.v1.Streaming/NewStream": "", | |||
"/com.docker.api.protos.streams.v1.Streaming/NewStream": "streaming", |
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 this change?
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 just didn't want to let this empty, if anyone calls this, we'll see something we can follow in the metrics
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.
LGTM
What I did
Replace #640 (including commit from @ulyssessouza) to follow up with things we did pair programming and fixes in metrics)
Related issue
#604
(not mandatory) A picture of a cute animal, if possible in relation with what you did