Skip to content

Commit 6fff440

Browse files
committed
Rename label modelIDs to localModelIDs
1 parent 578d2d5 commit 6fff440

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

cli/local/docker_spec.go

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,13 @@ func deployONNXContainer(api *spec.API, awsClient *aws.Client) error {
274274
_defaultPortStr + "/tcp": struct{}{},
275275
},
276276
Labels: map[string]string{
277-
"cortex": "true",
278-
"type": _apiContainerName,
279-
"apiID": api.ID,
280-
"specID": api.SpecID,
281-
"predictorID": api.PredictorID,
282-
"apiName": api.Name,
283-
"modelIDs": ModelCaches(api.LocalModelCaches).IDs(),
277+
"cortex": "true",
278+
"type": _apiContainerName,
279+
"apiID": api.ID,
280+
"specID": api.SpecID,
281+
"predictorID": api.PredictorID,
282+
"apiName": api.Name,
283+
"localModelIDs": ModelCaches(api.LocalModelCaches).IDs(),
284284
},
285285
}
286286
containerInfo, err := docker.MustDockerClient().ContainerCreate(context.Background(), containerConfig, hostConfig, nil, "")
@@ -383,13 +383,13 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
383383
_tfServingPortStr + "/tcp": struct{}{},
384384
},
385385
Labels: map[string]string{
386-
"cortex": "true",
387-
"type": _tfServingContainerName,
388-
"apiID": api.ID,
389-
"specID": api.SpecID,
390-
"predictorID": api.PredictorID,
391-
"apiName": api.Name,
392-
"modelIDs": ModelCaches(api.LocalModelCaches).IDs(),
386+
"cortex": "true",
387+
"type": _tfServingContainerName,
388+
"apiID": api.ID,
389+
"specID": api.SpecID,
390+
"predictorID": api.PredictorID,
391+
"apiName": api.Name,
392+
"localModelIDs": ModelCaches(api.LocalModelCaches).IDs(),
393393
},
394394
}
395395

@@ -454,13 +454,13 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
454454
_defaultPortStr + "/tcp": struct{}{},
455455
},
456456
Labels: map[string]string{
457-
"cortex": "true",
458-
"type": _apiContainerName,
459-
"apiID": api.ID,
460-
"specID": api.SpecID,
461-
"predictorID": api.PredictorID,
462-
"apiName": api.Name,
463-
"modelIDs": ModelCaches(api.LocalModelCaches).IDs(),
457+
"cortex": "true",
458+
"type": _apiContainerName,
459+
"apiID": api.ID,
460+
"specID": api.SpecID,
461+
"predictorID": api.PredictorID,
462+
"apiName": api.Name,
463+
"localModelIDs": ModelCaches(api.LocalModelCaches).IDs(),
464464
},
465465
}
466466
containerCreateRequest, err = docker.MustDockerClient().ContainerCreate(context.Background(), apiContainerConfig, apiHostConfig, nil, "")

0 commit comments

Comments
 (0)