Skip to content

Commit

Permalink
chore: fix typo in FileIO Schemes (#653)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo
  • Loading branch information
wcy-fdu authored Sep 30, 2024
1 parent af9609d commit cda4a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/iceberg/src/io/file_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use crate::{Error, ErrorKind, Result};
/// | Local file system | `storage-fs` | `file` |
/// | Memory | `storage-memory` | `memory` |
/// | S3 | `storage-s3` | `s3`, `s3a`|
/// | GCS | `storage-gcs` | `gs` |
/// | GCS | `storage-gcs` | `gcs` |
#[derive(Clone, Debug)]
pub struct FileIO {
inner: Arc<Storage>,
Expand Down
2 changes: 1 addition & 1 deletion crates/iceberg/src/io/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl Storage {
"memory" => Ok(Scheme::Memory),
"file" | "" => Ok(Scheme::Fs),
"s3" | "s3a" => Ok(Scheme::S3),
"gs" => Ok(Scheme::Gcs),
"gcs" => Ok(Scheme::Gcs),
s => Ok(s.parse::<Scheme>()?),
}
}
Expand Down

0 comments on commit cda4a0c

Please sign in to comment.