Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

In the load.sh script, the ${NAME} variable will not be expanded because it is within single quotes. #55

Open
@tghfly

Description

#!/bin/bash 
NAME=$1
curl "http://12.102.210.202:80/models/apply" -H "Content-Type: application/json" -d "
{
     \"url\": \"http://192.168.5.242:16000/model-gallery/${NAME}.yaml\",
     \"name\": \"${NAME}\"
}"

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions