Commit 4e9abfd
Fix incorrect "not found" error check.
So far, the command line parsing code would check the error returned by
`FetchAndUnDecorateMatchableAttr` for a gRPC "not found" error but
`AdminFetcherExtClient` maps this gRPC code to an internal
`NotFoundError` type: It is this error that we need to check for.
This PR adapts the error check, which unbreaks config file generation.
(While at it, I also added a missing '\n' to a log message.)
Signed-off-by: Philipp Winter <philipp.winter@tiledb.com>1 parent 1254e05 commit 4e9abfd
2 files changed
Lines changed: 3 additions & 4 deletions
File tree
- flytectl/cmd
- config/subcommand
- get
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
| 143 | + | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| |||
0 commit comments