Skip to content

Commit 41d19a2

Browse files
committed
remove unnecessary check in remote workload management
1 parent e18ae92 commit 41d19a2

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

pkg/transport/proxy/manager.go

Lines changed: 0 additions & 37 deletions
This file was deleted.

pkg/workloads/manager.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"github.com/stacklok/toolhive/pkg/runner"
2626
"github.com/stacklok/toolhive/pkg/secrets"
2727
"github.com/stacklok/toolhive/pkg/state"
28-
"github.com/stacklok/toolhive/pkg/transport/proxy"
2928
"github.com/stacklok/toolhive/pkg/workloads/statuses"
3029
"github.com/stacklok/toolhive/pkg/workloads/types"
3130
)
@@ -877,9 +876,6 @@ func (d *defaultManager) getRemoteWorkloadState(ctx context.Context, name, baseN
877876
workloadSt.Running = workload.Status == rt.WorkloadStatusRunning
878877
}
879878

880-
// Check if the detached process is actually running
881-
workloadSt.ProxyRunning = proxy.IsRunning(baseName)
882-
883879
return workloadSt
884880
}
885881

0 commit comments

Comments
 (0)