Skip to content

Commit a10e37d

Browse files
Merge pull request #86 from threefoldtech/remove-logs-call
fix: remove logs rmb call
2 parents 64a90ef + 87cd045 commit a10e37d

4 files changed

Lines changed: 2 additions & 40 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
name: Running Daemon Tests
77
runs-on: ubuntu-latest
88
steps:
9-
- name: Set up Go 1.21
9+
- name: Set up Go 1.23
1010
uses: actions/setup-go@v1
1111
with:
12-
go-version: 1.21
12+
go-version: 1.23
1313
id: go
1414

1515
- name: Prepare dependencies

client/node.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -225,18 +225,6 @@ func (n *NodeClient) NetworkListPublicIPs(ctx context.Context) ([]string, error)
225225
return result, nil
226226
}
227227

228-
// NetworkListPublicIPs list taken public IPs on the node
229-
func (n *NodeClient) GetVmLogs(ctx context.Context, path string) (string, error) {
230-
const cmd = "zos.logs.vm"
231-
var result string
232-
233-
if err := n.bus.Call(ctx, n.nodeTwin, cmd, path, &result); err != nil {
234-
return "", err
235-
}
236-
237-
return result, nil
238-
}
239-
240228
// NetworkListPrivateIPs list private ips reserved for a network
241229
func (n *NodeClient) NetworkListPrivateIPs(ctx context.Context, networkName string) ([]string, error) {
242230
const cmd = "zos.network.list_private_ips"

pkg/zos_api/logs.go

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

pkg/zos_api/routes.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,4 @@ func (g *ZosAPI) SetupRoutes(router *peer.Router) {
5252
location := root.SubRoute("location")
5353
location.WithHandler("get", g.locationGet)
5454

55-
logs := root.SubRoute("logs")
56-
logs.WithHandler("vm", g.getVmLogsHandler)
5755
}

0 commit comments

Comments
 (0)