Update server/images.go
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
parent
bc22d5a38b
commit
652d90e1c7
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ func CreateModel(ctx context.Context, name string, commands []parser.Command, fn
|
||||||
case "template", "system":
|
case "template", "system":
|
||||||
fn(api.ProgressResponse{Status: fmt.Sprintf("creating %s layer", c.Name)})
|
fn(api.ProgressResponse{Status: fmt.Sprintf("creating %s layer", c.Name)})
|
||||||
|
|
||||||
// remove duplicates layers
|
// remove duplicate layers
|
||||||
layers = removeLayerFromLayers(layers, mediatype)
|
layers = removeLayerFromLayers(layers, mediatype)
|
||||||
|
|
||||||
layer, err := CreateLayer(strings.NewReader(c.Args))
|
layer, err := CreateLayer(strings.NewReader(c.Args))
|
||||||
|
|
Loading…
Reference in a new issue