forked from LaconicNetwork/kompose
update references to just compose (#1869)
#### What type of PR is this? Change from Docker Compose references to just Compose <!-- Add one of the following kinds: /kind bug /kind cleanup /kind documentation /kind feature --> #### What this PR does / why we need it: Compose is an open format and we should not say "Docker Compose". #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes https://github.com/kubernetes/kompose/issues/1868 #### Special notes for your reviewer: Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
@@ -250,7 +250,7 @@ func convertDockerLabel(dockerLabel string) (string, error) {
|
||||
return "", errors.New(errMsg)
|
||||
}
|
||||
|
||||
// Convert the Docker Compose volumes to []string (the old way)
|
||||
// Convert the Compose volumes to []string (the old way)
|
||||
// TODO: Check to see if it's a "bind" or "volume". Ignore for now.
|
||||
// TODO: Refactor it similar to loadPorts
|
||||
// See: https://docs.docker.com/compose/compose-file/#long-syntax-3
|
||||
@@ -273,7 +273,7 @@ func loadVolumes(volumes []types.ServiceVolumeConfig) []string {
|
||||
return volArray
|
||||
}
|
||||
|
||||
// Convert Docker Compose ports to kobject.Ports
|
||||
// Convert Compose ports to kobject.Ports
|
||||
// expose ports will be treated as TCP ports
|
||||
func loadPorts(ports []types.ServicePortConfig, expose []string) []kobject.Ports {
|
||||
komposePorts := []kobject.Ports{}
|
||||
|
||||
Reference in New Issue
Block a user