Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Jun 6, 2024
1 parent c97f096 commit 0d625a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tfrobot_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ defaults:
run:
working-directory: tfrobot
on:
push:
schedule:
- cron: 0 4 * * *
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion tfrobot/cmd/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var loadCmd = &cobra.Command{

if err := deployer.RunLoader(ctx, cfg, tfPluginClient, debug, outputPath); err != nil {
log.Error().Msg("failed to load configured deployments")
fmt.Println(err)
fmt.Println(err)
os.Exit(1)
}

Expand Down
2 changes: 1 addition & 1 deletion tfrobot/pkg/deployer/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

type NodeContracts map[uint32][]uint64

func RunLoader(ctx context.Context, cfg Config, tfPluginClient deployer.TFPluginClient, debug bool, output string) error {
func RunLoader(ctx context.Context, cfg Config, tfPluginClient deployer.TFPluginClient, debug bool, output string) *multierror.Error {
log.Info().Msg("Loading deployments")

asJson := filepath.Ext(output) == ".json"
Expand Down

0 comments on commit 0d625a3

Please sign in to comment.