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

Rename volumefrom #866

Merged
merged 2 commits into from
Apr 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions interface/grpc/core/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func toProtoConfiguration(configuration *service.Dependency) *definition.Configu
Command: configuration.Command,
Ports: configuration.Ports,
Volumes: configuration.Volumes,
Volumesfrom: configuration.VolumesFrom,
VolumesFrom: configuration.VolumesFrom,
}
}

Expand All @@ -117,7 +117,7 @@ func toProtoDependency(dep *service.Dependency) *definition.Dependency {
Key: dep.Key,
Image: dep.Image,
Volumes: dep.Volumes,
Volumesfrom: dep.VolumesFrom,
VolumesFrom: dep.VolumesFrom,
Ports: dep.Ports,
Command: dep.Command,
Args: dep.Args,
Expand Down
96 changes: 48 additions & 48 deletions protobuf/definition/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions protobuf/definition/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ message Parameter {

message Configuration {
repeated string volumes = 1; // List of volumes.
repeated string volumesfrom = 2; // List of volumes mounted from other dependencies.
repeated string volumesFrom = 2; // List of volumes mounted from other dependencies.
repeated string ports = 3; // List of ports the container exposes.
repeated string args = 4; // Args to pass to the container.
string command = 5; // Command to run the container.
Expand All @@ -65,7 +65,7 @@ message Dependency {
string key = 8; // Dependency's key.
string image = 1; // Image's name of the container.
repeated string volumes = 2; // List of volumes.
repeated string volumesfrom = 3; // List of volumes mounted from other dependencies.
repeated string volumesFrom = 3; // List of volumes mounted from other dependencies.
repeated string ports = 4; // List of ports the container exposes.
repeated string args = 6; // Args to pass to the container.
string command = 5; // Command to run the container.
Expand Down