Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyfraser committed Sep 9, 2024
1 parent 50fbb26 commit 067a5e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rsky-pds/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn env_to_cfg() -> ServerConfig {
contact_email_address: env_str("PDS_CONTACT_EMAIL_ADDRESS"),
dev_mode: env_bool("PDS_DEV_MODE").unwrap_or(false),
};
let mut service_handle_domains: Vec<String> = vec![];
let service_handle_domains: Vec<String>;;
if env_list("PDS_SERVICE_HANDLE_DOMAINS").len() > 0 {
service_handle_domains = env_list("PDS_SERVICE_HANDLE_DOMAINS");
} else {
Expand Down
2 changes: 1 addition & 1 deletion rsky-pds/src/repo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::repo::record::RecordReader;
use crate::repo::types::{
write_to_op, BlobConstraint, CollectionContents, Commit, CommitData, Ids, Lex, PreparedBlobRef,
PreparedCreateOrUpdate, PreparedDelete, PreparedWrite, RecordCreateOrUpdateOp, RecordWriteEnum,
RecordWriteOp, RepoContents, RepoRecord, UnsignedCommit, VersionedCommit, WriteOpAction,
RecordWriteOp, RepoContents, RepoRecord, UnsignedCommit, WriteOpAction,
};
use crate::repo::util::{cbor_to_lex, lex_to_ipld};
use crate::storage::{Ipld, SqlRepoReader};
Expand Down

0 comments on commit 067a5e9

Please sign in to comment.