Skip to content

Commit

Permalink
Fix update triton server replicas. (#991)
Browse files Browse the repository at this point in the history
Signed-off-by: Syulin7 <[email protected]>
  • Loading branch information
Syulin7 committed Sep 7, 2023
1 parent 4afe00e commit a7e6a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/serving/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func UpdateTritonServing(args *types.UpdateTritonServingArgs) error {
return err
}

if args.Command == "" {
if args.Command == "" && args.ModelRepository != "" {
containerArgs := deploy.Spec.Template.Spec.Containers[0].Args

servingArgs := containerArgs[0]
Expand Down

0 comments on commit a7e6a0f

Please sign in to comment.