Skip to content

Commit

Permalink
v1.0.X-remote
Browse files Browse the repository at this point in the history
  • Loading branch information
xfhg committed Oct 25, 2024
1 parent 811737d commit edf8c94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions cmd/embed_remote_unavailable.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ var embeddedGossh embed.FS

var gosshPath string

var observeRemoteHost string = "0.0.0.0"
var observeRemotePort string = "23234"

func prepareGosshExecutable() (string, error) {
return "", nil
}
Expand Down
5 changes: 4 additions & 1 deletion cmd/ssh.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build !windows
// +build !windows

package cmd

import (
Expand Down Expand Up @@ -963,7 +966,7 @@ func (m *model) runSelectedPolicies() tea.Msg {
}

func startSSHServer(policies []Policy, outputDir string) error {
// Filter policies to include only those with Type == "runtime"

var runtimePolicies []Policy
for _, policy := range policies {
if policy.Type == "runtime" || policy.Type == "api" {
Expand Down

0 comments on commit edf8c94

Please sign in to comment.