Skip to content

Commit

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

* fix typo
  • Loading branch information
wcy-fdu authored and shaeqahmed committed Dec 9, 2024
1 parent 1ae9b39 commit eb5d681
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 eb5d681

Please sign in to comment.