Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

PMM-5194 Tunnels #141

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

PMM-5194 Tunnels #141

wants to merge 5 commits into from

Conversation

AlekSi
Copy link
Contributor

@AlekSi AlekSi commented Feb 16, 2021

No description provided.

@codecov
Copy link

codecov bot commented Feb 16, 2021

Codecov Report

Merging #141 (9b52351) into master (3b922dd) will decrease coverage by 0.33%.
The diff coverage is 3.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
- Coverage   24.53%   24.19%   -0.34%     
==========================================
  Files          47       48       +1     
  Lines        3212     3265      +53     
==========================================
+ Hits          788      790       +2     
- Misses       2399     2450      +51     
  Partials       25       25              
Flag Coverage Δ
cover 23.88% <3.77%> (-0.35%) ⬇️
crosscover 24.19% <3.77%> (-0.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
main.go 0.00% <0.00%> (ø)
commands/inventory/list_tunnels.go 3.92% <3.92%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b922dd...53f6551. Read the comment docs.

}, "\t")
fmt.Fprintln(w, line)
}
w.Flush()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
Error return value of w.Flush is not checked (errcheck)

"github.com/percona/pmm-admin/commands"
)

type listResultTunnel struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
struct of size 64 bytes could be of size 56 bytes (maligned)

}

func (cmd *listTunnelsCommand) Run() (commands.Result, error) {
params := &tunnels.ListTunnelsParams{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
HTTPClient is missing in ListTunnelsParams (exhaustivestruct)

ListenPort uint16 `json:"listen_port"`
}

type TunnelStatus struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
exported type TunnelStatus should have comment or be unexported (golint)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants