Skip to content

Commit 68d9e47

Browse files
committed
Revert unnecessary changes
Signed-off-by: Ray Liu <[email protected]>
1 parent 7cac8f5 commit 68d9e47

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Cargo.lock

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/integrations/cli/src/catalog.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ impl IcebergCatalogList {
7070
.as_str()
7171
.ok_or_else(|| anyhow::anyhow!("name is not string"))?;
7272

73-
let typ = config
73+
let r#type = config
7474
.get("type")
7575
.ok_or_else(|| anyhow::anyhow!("type not found for catalog"))?
7676
.as_str()
7777
.ok_or_else(|| anyhow::anyhow!("type is not string"))?;
7878

79-
if typ != "rest" {
79+
if r#type != "rest" {
8080
return Err(anyhow::anyhow!("Only rest catalog is supported for now!"));
8181
}
8282

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
# iceberg-rust use unstable rust to run linters, such as `clippy` and `rustfmt`. But this will not affect downstream users,
1919
# and only MSRV is required.
2020
[toolchain]
21-
channel = "nightly-2025-03-10"
21+
channel = "nightly-2024-06-10"
2222
components = ["rustfmt", "clippy"]

0 commit comments

Comments
 (0)