Skip to content

Commit

Permalink
chore: _ for unused params
Browse files Browse the repository at this point in the history
Signed-off-by: nathan-nicholson <nathan@konstruct.io>
  • Loading branch information
nathan-nicholson committed Jan 29, 2025
1 parent 6755fe7 commit 7ea3e91
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/akamai/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the kubefirst platform running on akamai kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "akamai")
if err != nil {
progress.Error(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion cmd/aws/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the kubefirst platform running in aws",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "aws")
if err != nil {
progress.Error(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion cmd/azure/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the kubefirst platform running on Azure kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "azure")
if err != nil {
progress.Error(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion cmd/civo/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "Create the Kubefirst platform running on Civo Kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {

cliFlags, err := utilities.GetFlags(cmd, "civo")
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/digitalocean/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the Kubefirst platform running on DigitalOcean Kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "digitalocean")
if err != nil {
progress.Error(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion cmd/google/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the kubefirst platform running on GCP Kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "google")
if err != nil {
progress.Error(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion cmd/k3s/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "create the kubefirst platform running on premise",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "k3s")
if err != nil {
return fmt.Errorf("failed to get flags: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion cmd/vultr/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Create() *cobra.Command {
Use: "create",
Short: "Create the Kubefirst platform running on Vultr Kubernetes",
TraverseChildren: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
cliFlags, err := utilities.GetFlags(cmd, "vultr")
if err != nil {
progress.Error(err.Error())
Expand Down

0 comments on commit 7ea3e91

Please sign in to comment.