Update pkg/inference/models/manager.go
Signed-off-by: Emily Casey <emily.casey@docker.com> Co-authored-by: Jacob Howard <jacob.howard@docker.com>
This commit is contained in:
parent
5a2117a505
commit
e607ddcc49
|
|
@ -332,7 +332,7 @@ func (m *Manager) handleTagModel(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
// Respond with success.
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.WriteHeader(http.StatusCreated)
|
||||
w.Write([]byte(fmt.Sprintf("Model %q tagged successfully with source %q", modelName, model)))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue