Skip to content

Fix RPC engine work with ListFlags method#1501

Merged
umputun merged 2 commits intomasterfrom
paskal/rpc_panic
Sep 29, 2022
Merged

Fix RPC engine work with ListFlags method#1501
umputun merged 2 commits intomasterfrom
paskal/rpc_panic

Conversation

@paskal
Copy link
Copy Markdown
Collaborator

@paskal paskal commented Sep 28, 2022

Fixes the following conversion problem for BlockedUser:

panic: interface conversion:
interface {} is map[string]interface {}, not store.BlockedUser [recovered]

Resolves #1475.

@paskal paskal added this to the v1.10.2 milestone Sep 28, 2022
@paskal paskal requested a review from umputun as a code owner September 28, 2022 20:59
@paskal paskal changed the title fFx RPC engine work with ListFlags method Fix RPC engine work with ListFlags method Sep 28, 2022
@paskal paskal force-pushed the paskal/rpc_panic branch 4 times, most recently from 19d9381 to be342a7 Compare September 28, 2022 21:11
Fixes the following conversion problem for BlockedUser:

```
panic: interface conversion: interface {} is map[string]interface {},
not store.BlockedUser [recovered]
```

Resolves #1475.
@umputun umputun merged commit 2ecc80e into master Sep 29, 2022
@umputun umputun deleted the paskal/rpc_panic branch September 29, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type cast panic when using RPC

2 participants