Skip to content

Commit

Permalink
golint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AdheipSingh committed Dec 16, 2024
1 parent 857af15 commit ab5d8df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func printSuccessBanner(namespace, deployment, version, username, password strin

err = startPortForward(namespace, serviceName, "80", localPort)
if err != nil {

Check failure on line 159 in cmd/installer.go

View workflow job for this annotation

GitHub Actions / Build and Test the Go code

result of fmt.Errorf call not used
fmt.Printf("failed to port-forward service: %w", err)
fmt.Errorf(common.Red+"failed to port-forward service: %w", err)
}

// Redirect to UI
Expand Down
1 change: 0 additions & 1 deletion pkg/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func Installer(_ Plan) (values *ValuesHolder, chartValues []string) {
log.Fatalf("Failed to prompt for namespace and credentials: %v", err)
}

fmt.Println(pbSecret.Namespace)
// Prompt for agent deployment
agent, agentValues, err := promptAgentDeployment(deployValues, deployment, pbSecret.Namespace)
if err != nil {
Expand Down

0 comments on commit ab5d8df

Please sign in to comment.