Replace --profiler option with --debug

This commit is contained in:
M. Mert Yildiran
2022-12-26 08:15:47 +03:00
parent 0a5343299c
commit c25be876f2
6 changed files with 30 additions and 30 deletions

View File

@@ -48,6 +48,7 @@ type WorkerSyncerConfig struct {
KubesharkServiceAccountExists bool
ServiceMesh bool
Tls bool
Debug bool
}
func CreateAndStartWorkerSyncer(ctx context.Context, kubernetesProvider *Provider, config WorkerSyncerConfig, startTime time.Time) (*WorkerSyncer, error) {
@@ -368,7 +369,8 @@ func (workerSyncer *WorkerSyncer) updateWorkers() error {
workerSyncer.config.KubesharkApiFilteringOptions,
workerSyncer.config.LogLevel,
workerSyncer.config.ServiceMesh,
workerSyncer.config.Tls); err != nil {
workerSyncer.config.Tls,
workerSyncer.config.Debug); err != nil {
return err
}