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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user