reid 2 лет назад
Родитель
Сommit
22b6fec21a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      docker/docker.go

+ 1 - 2
docker/docker.go

@@ -177,7 +177,7 @@ func StartContainer(containerName string, containerType string) (structs.Contain
 	case existingContainer == nil:
 		// if the container does not exist, create and start it
 		_, err := cli.ContainerCreate(ctx, &container.Config{
-			Image: desiredRepo + ":" + desiredTag,
+			Image: desiredImage,
 		}, nil, nil, nil, containerName)
 		if err != nil {
 			return containerState, err
@@ -241,7 +241,6 @@ func StartContainer(containerName string, containerType string) (structs.Contain
 
 // convert the version info back into json then a map lol
 // so we can easily get the correct repo/release channel/tag/hash
-// note: this is probably no longer necessary! just reference VersionInfo in future
 func GetLatestContainerInfo(containerType string) (map[string]string, error) {
 	var res map[string]string
 	arch := config.Architecture