Skip to content

Commit

Permalink
Merge 01a1c99 into 66bc5b2
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceInHunterland authored Aug 17, 2023
2 parents 66bc5b2 + 01a1c99 commit 0477be2
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 @@ -28,6 +28,7 @@ minor release, the component will be purged, so be prepared (see `Updating` sect
- Storage node no longer ignores unhealthy shards on startup (#2464)
- Processing of status errors returned by API client from NeoFS SDK RC-9 (#2465)
- `neofs-lens write-cache list` command duplication (#2505)
- `neofs-adm` works with contract wallet in `init` and `update-contracts` commands only (#2134)

### Removed
- Deprecated `morph.rpc_endpoint` SN and `morph.endpoint.client` IR config sections (#2400)
Expand Down
2 changes: 1 addition & 1 deletion cmd/neofs-adm/internal/modules/morph/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func newInitializeContext(cmd *cobra.Command, v *viper.Viper) (*initializeContex
}

var w *wallet.Wallet
if cmd.Name() != "deploy" {
if cmd.Name() == "update-contracts" || cmd.Name() == "init" {

Check warning on line 117 in cmd/neofs-adm/internal/modules/morph/initialize.go

View check run for this annotation

Codecov / codecov/patch

cmd/neofs-adm/internal/modules/morph/initialize.go#L117

Added line #L117 was not covered by tests
w, err = openContractWallet(v, cmd, walletDir)
if err != nil {
return nil, err
Expand Down

0 comments on commit 0477be2

Please sign in to comment.