Skip to content

Commit 25e2a63

Browse files
committed
add goimports for lib, try fix
1 parent f8fce8c commit 25e2a63

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ test-all:
5050

5151
goimports-all:
5252
@just _default_goimports k8s-test-runner
53+
@just _default_goimports lib
5354
@just _default_goimports parrot
5455
@just _default_goimports tools/workflowresultparser
5556
@just _default_goimports tools/asciitable

lib/docker/test_env/parrot.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
)
2222

2323
const (
24-
defaultParrotImage = "kalverra/parrot"
25-
defaultParrotVersion = "v0.6.2"
26-
defaultParrotPort = "80"
24+
defaultParrotImage = "kalverra/parrot"
25+
defaultParrotVersion = "v0.6.2"
26+
defaultParrotPort = "80"
2727
defaultStartupTimeout = 10 * time.Second
2828
)
2929

@@ -55,8 +55,8 @@ type ParrotAdapterResult struct {
5555
func NewParrot(networks []string, opts ...EnvComponentOption) *Parrot {
5656
p := &Parrot{
5757
EnvComponent: EnvComponent{
58-
ContainerName: fmt.Sprintf("%s-%s", "parrot", uuid.NewString()[0:3]),
59-
Networks: networks,
58+
ContainerName: fmt.Sprintf("%s-%s", "parrot", uuid.NewString()[0:3]),
59+
Networks: networks,
6060
},
6161
l: log.Logger,
6262
}

lib/grafana/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ type GrafanaResponse struct {
119119
}
120120

121121
// PostDashboard sends a request to create or update a Grafana dashboard.
122-
// It returns the response containing the dashboard details, the HTTP response,
123-
// and any error encountered during the request. This function is useful for
122+
// It returns the response containing the dashboard details, the HTTP response,
123+
// and any error encountered during the request. This function is useful for
124124
// programmatically managing Grafana dashboards.
125125
func (c *Client) PostDashboard(dashboard PostDashboardRequest) (GrafanaResponse, *resty.Response, error) {
126126
var grafanaResp GrafanaResponse

0 commit comments

Comments
 (0)