diff --git a/internal/store/compose.go b/internal/store/compose.go index c685949be..76d00fb8d 100644 --- a/internal/store/compose.go +++ b/internal/store/compose.go @@ -58,17 +58,6 @@ func (ib *ImageBuild) DeepCopy() ImageBuild { } } -func (ib *ImageBuild) GetLocalTargetOptions() *target.LocalTargetOptions { - for _, t := range ib.Targets { - switch options := t.Options.(type) { - case *target.LocalTargetOptions: - return options - } - } - - return nil -} - // A Compose represent the task of building a set of images from a single blueprint. // It contains all the information necessary to generate the inputs for the job, as // well as the job's state.