1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 23:36:58 +00:00

Add offspring controller

This commit is contained in:
Darren Shepherd
2017-12-19 21:39:57 -07:00
parent 2825fdb9c3
commit 2550f12a9a
11 changed files with 629 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ type Starter interface {
Start(ctx context.Context, threadiness int) error
}
func SyncThenSync(ctx context.Context, threadiness int, starters ...Starter) error {
func SyncThenStart(ctx context.Context, threadiness int, starters ...Starter) error {
if err := Sync(ctx, starters...); err != nil {
return err
}