(ctx devspacecontext.Context, options *Options, parent *tomb.Tomb)
| 237 | } |
| 238 | |
| 239 | func syncDone(ctx devspacecontext.Context, options *Options, parent *tomb.Tomb) { |
| 240 | parent.Kill(nil) |
| 241 | hook.LogExecuteHooks(ctx.WithLogger(options.SyncLog), map[string]interface{}{ |
| 242 | "sync_config": options.SyncConfig, |
| 243 | }, hook.EventsForSingle("stop:sync", options.Name).With("sync.stop")...) |
| 244 | ctx.Log().Debugf("Stopped sync %s", options.SyncConfig.Path) |
| 245 | } |
| 246 | |
| 247 | func PrintPodError(ctx context.Context, kubeClient kubectl.Client, pod *v1.Pod, log logpkg.Logger) bool { |
| 248 | // check if pod still exists |
no test coverage detected