Skip to content

Commit

Permalink
adm: Read GAS from the correct flag in generate-storage-wallet
Browse files Browse the repository at this point in the history
A copy-paste regression from the d41d7a7.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell committed Mar 6, 2024
1 parent e64483d commit b4f15b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changelog for NeoFS Node
- Access to `PUT` objects no longer grants `DELETE` rights (#2261)
- Storage nodes no longer reject GET w/ TTL=1 requests to read complex objects (#2447)
- Response exceeding the deadline for TLS errors (#2561)
- `neofs-adm morph generate-storage-wallet` was not able to read `--initial-gas` flag (#2766)

### Changed
- IR now checks format of NULL and numeric eACL filters specified in the protocol (#2742)
Expand Down
2 changes: 1 addition & 1 deletion cmd/neofs-adm/internal/modules/morph/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func generateStorageCreds(cmd *cobra.Command, _ []string) error {
return err
}

gasAmount, err := parseGASAmount(viper.GetString(refillGasAmountFlag))
gasAmount, err := parseGASAmount(viper.GetString(storageGasConfigFlag))

Check warning on line 159 in cmd/neofs-adm/internal/modules/morph/generate.go

View check run for this annotation

Codecov / codecov/patch

cmd/neofs-adm/internal/modules/morph/generate.go#L159

Added line #L159 was not covered by tests
if err != nil {
return err
}
Expand Down

0 comments on commit b4f15b2

Please sign in to comment.