-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I'm running DynamoDB in a local container. When running ddv before DynamoDB contains any tables, the program panics.
thread 'main' panicked at src/view/table_list.rs:357:52:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: core::option::unwrap_failed
4: ddv::view::table_list::TableListView::load_table_description
5: ddv::app::App::run
6: ddv::main::{{closure}}
7: ddv::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
NOTE I don't have access to an AWS account with no DynamoDB tables. So it's possible this is only an issue with the distributable version of DynamoDB
Version: v0.2.0
Reproduce
Run DynamoDB locally
docker run -p 8000:8000 amazon/dynamodb-local
Create an AWS profile pointing at local dynamo
[profile local]
aws_access_key_id=x
aws_secret_access_key=x
region=x
endpoint_url=http://localhost:8000
Run ddv with that profile
RUST_BACKTRACE=1 ddv --profile local
Metadata
Metadata
Assignees
Labels
No labels