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
3a7a483d68
commit
cac9d9dd8b
|
|
@ -462,7 +462,7 @@ func (m *Manager) PushModel(ctx context.Context, model string, w http.ResponseWr
|
|||
// Create a flusher to ensure chunks are sent immediately
|
||||
flusher, ok := w.(http.Flusher)
|
||||
if !ok {
|
||||
return fmt.Errorf("streaming not supported")
|
||||
return errors.New("streaming not supported")
|
||||
}
|
||||
|
||||
// Create a progress writer that writes to the response
|
||||
|
|
|
|||
Loading…
Reference in New Issue