From 7c438f2c53cbb77529067a8f08568cbe69c91e05 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Fri, 10 Nov 2023 20:22:03 +0000 Subject: [PATCH] Replaced method --- server/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/images.go b/server/images.go index 7bda6bf0..8d784fef 100644 --- a/server/images.go +++ b/server/images.go @@ -397,7 +397,7 @@ func CreateModel(ctx context.Context, name string, path string, fn func(resp api if err != nil { return err } - newLayer.From = mp.GetNamespaceRepository() + newLayer.From = mp.GetShortTagname() layers = append(layers, newLayer) } }