Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
name: Running Daemon Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.23
id: go

- name: Prepare dependencies
Expand Down
12 changes: 0 additions & 12 deletions client/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,6 @@ func (n *NodeClient) NetworkListPublicIPs(ctx context.Context) ([]string, error)
return result, nil
}

// NetworkListPublicIPs list taken public IPs on the node
func (n *NodeClient) GetVmLogs(ctx context.Context, path string) (string, error) {
const cmd = "zos.logs.vm"
var result string

if err := n.bus.Call(ctx, n.nodeTwin, cmd, path, &result); err != nil {
return "", err
}

return result, nil
}

// NetworkListPrivateIPs list private ips reserved for a network
func (n *NodeClient) NetworkListPrivateIPs(ctx context.Context, networkName string) ([]string, error) {
const cmd = "zos.network.list_private_ips"
Expand Down
24 changes: 0 additions & 24 deletions pkg/zos_api/logs.go

This file was deleted.

2 changes: 0 additions & 2 deletions pkg/zos_api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,4 @@ func (g *ZosAPI) SetupRoutes(router *peer.Router) {
location := root.SubRoute("location")
location.WithHandler("get", g.locationGet)

logs := root.SubRoute("logs")
logs.WithHandler("vm", g.getVmLogsHandler)
}
Loading