Skip to content

containerz: UpdateContainerRequest contains duplicate params? #315

@LimeHat

Description

@LimeHat

UpdateContainerRequest contains image_name and image_tag fields in the body of the request:

message UpdateContainerRequest {
// The name of the running container to update.
string instance_name = 1;
// The image and tag to update the container to.
string image_name = 2;
string image_tag = 3;
// The set of parameters to run the container with.
StartContainerRequest params = 4;
// Run this operation asynchronously or not.
bool async = 5;
}

But the same parameters are included in the StartContainerRequest message, which is also part of the UpdateContainerRequest message

message StartContainerRequest {
// The name and tag of the container to start.
string image_name = 1;
string tag = 2;
string cmd = 3;

Could you please clarify how is this supposed to be used? Can we deprecate one of the sets (name+tag)?

@alshabib @robshakir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions