@@ -27,7 +27,6 @@ import (
2727 controlapi "github.com/moby/buildkit/api/services/control"
2828 bkclient "github.com/moby/buildkit/client"
2929 "github.com/moby/buildkit/cmd/buildctl/build"
30- bkbuild "github.com/moby/buildkit/cmd/buildctl/build"
3130 "github.com/moby/buildkit/identity"
3231 "github.com/moby/buildkit/session"
3332 "github.com/moby/buildkit/session/filesync"
@@ -268,7 +267,7 @@ func (cmd *buildCommand) Run(args []string) (err error) {
268267
269268 var cacheExports []* controlapi.CacheOptionsEntry
270269 if cmdExportCaches := cmd .exportCache .GetAll (); len (cmdExportCaches ) > 0 {
271- parsedCacheExports , err := bkbuild .ParseExportCache (cmdExportCaches , []string {})
270+ parsedCacheExports , err := build .ParseExportCache (cmdExportCaches , []string {})
272271 if err != nil {
273272 return fmt .Errorf ("error parsing export cache: %v" , err )
274273 }
@@ -287,7 +286,7 @@ func (cmd *buildCommand) Run(args []string) (err error) {
287286
288287 var cacheImports []* controlapi.CacheOptionsEntry
289288 if cmdImportCaches := cmd .importCache .GetAll (); len (cmdImportCaches ) > 0 {
290- parsedCacheImport , err := bkbuild .ParseImportCache (cmdImportCaches )
289+ parsedCacheImport , err := build .ParseImportCache (cmdImportCaches )
291290 if err != nil {
292291 return fmt .Errorf ("error parsing import cache: %v" , err )
293292 }
0 commit comments