Skip to content

Commit

Permalink
delegate MoveTo to stack from jobqueue
Browse files Browse the repository at this point in the history
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
  • Loading branch information
szuecs committed May 2, 2019
1 parent bebe065 commit 6de5d1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func (s *Stack) Config() Config {
return s.config
}

func (s *Stack) MoveTo(newStack *Stack) {
s.stack.MoveTo(newStack.stack)
}

func NewRegistry() *Registry {
return &Registry{
groupConfig: make(map[string]Config),
Expand Down

0 comments on commit 6de5d1e

Please sign in to comment.