Skip to content

Commit

Permalink
pod_cli -> pod_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrliu committed Jan 23, 2025
1 parent 121dddf commit 497472e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 93 deletions.
Binary file removed go/cmd/server/pod_cli
Binary file not shown.
2 changes: 1 addition & 1 deletion go/pod/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func dispatchRustCommand(req podCommandRequest) (*Pod, string, error) {
return nil, "", fmt.Errorf("failed to marshal request: %w", err)
}

cmd := exec.Command("./pod_cli")
cmd := exec.Command("./pod_worker")
stdin, err := cmd.StdinPipe()
if err != nil {
return nil, "", fmt.Errorf("failed to get stdin: %w", err)
Expand Down
Binary file removed go/pod/pod_cli
Binary file not shown.
2 changes: 1 addition & 1 deletion go/pod/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (p *Pod) Verify() (bool, error) {
return false, fmt.Errorf("marshal verify request: %w", err)
}

c := exec.Command("./pod_cli")
c := exec.Command("./pod_worker")
stdin, _ := c.StdinPipe()
stdout, _ := c.StdoutPipe()

Expand Down
4 changes: 2 additions & 2 deletions parcnet-pod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ name = "parcnet_pod"
path = "src/lib.rs"

[[bin]]
name = "pod_cli"
path = "src/bin/pod_cli.rs"
name = "pod_worker"
path = "src/bin/pod_worker.rs"


[dependencies]
Expand Down
89 changes: 0 additions & 89 deletions parcnet-pod/src/bin/pod_cli.rs

This file was deleted.

0 comments on commit 497472e

Please sign in to comment.