store: delete unused GetLocalTargetOptions() method

This commit is contained in:
Tomas Hozza 2022-06-15 10:50:34 +02:00 committed by Tom Gundersen
parent 95e2e75851
commit a7b97697de

View file

@ -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.