store: delete unused GetLocalTargetOptions() method
This commit is contained in:
parent
95e2e75851
commit
a7b97697de
1 changed files with 0 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue