You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Simplify store interfaces (#3437)
Use `store.Store` interface if possible.
This commit is contained in:
@@ -63,10 +63,6 @@ func (p Pipeline) IsMultiPipeline() bool {
|
||||
return len(p.Workflows) > 1
|
||||
}
|
||||
|
||||
type UpdatePipelineStore interface {
|
||||
UpdatePipeline(*Pipeline) error
|
||||
}
|
||||
|
||||
type PipelineOptions struct {
|
||||
Branch string `json:"branch"`
|
||||
Variables map[string]string `json:"variables"`
|
||||
|
||||
Reference in New Issue
Block a user