Skip to content

Commit

Permalink
chore: make function comments match function names (#5534)
Browse files Browse the repository at this point in the history
Signed-off-by: tcpdumppy <[email protected]>
  • Loading branch information
tcpdumppy authored Jun 6, 2024
1 parent 8f3621f commit 11d3271
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/debug/controlplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/kubeshop/testkube/pkg/ui"
)

// NewShowDebugInfoCmd creates a new cobra command to print the debug info to the CLI
// NewDebugControlPlaneCmd creates a new cobra command to print the debug info to the CLI
func NewDebugControlPlaneCmd() *cobra.Command {
var additionalLabels map[string]string
var attachAgentLogs bool
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/executors/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func NewUpsertExecutorOptionsFromFlags(cmd *cobra.Command) (options apiClient.Up
return options, nil
}

// NewUpsertExecutorOptionsFromFlags creates update executor options fom command flags
// NewUpdateExecutorOptionsFromFlags creates update executor options fom command flags
func NewUpdateExecutorOptionsFromFlags(cmd *cobra.Command) (options apiClient.UpdateExecutorOptions, err error) {
var fields = []struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1/client/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c TestSuiteClient) GetTestSuite(id string) (testSuite testkube.TestSuite,
return c.testSuiteTransport.Execute(http.MethodGet, uri, nil, nil)
}

// GetTestSuitWithExecution returns single test suite by id with execution
// GetTestSuiteWithExecution returns single test suite by id with execution
func (c TestSuiteClient) GetTestSuiteWithExecution(id string) (test testkube.TestSuiteWithExecution, err error) {
uri := c.testSuiteWithExecutionTransport.GetURI("/test-suite-with-executions/%s", id)
return c.testSuiteWithExecutionTransport.Execute(http.MethodGet, uri, nil, nil)
Expand Down

0 comments on commit 11d3271

Please sign in to comment.