diff options
author | Rutger Broekhoff | 2024-01-23 23:36:19 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-23 23:36:19 +0100 |
commit | f5a460434b2a02ecc3c03ced6ee91df800824695 (patch) | |
tree | 828b9ed5d4a69e7142264be8af3fef1e573a0614 /rs/server | |
parent | 8e8403c7fbf5a0b2c4e0df41bc8b502ce4a79ec1 (diff) | |
download | gitolfs3-f5a460434b2a02ecc3c03ced6ee91df800824695.tar.gz gitolfs3-f5a460434b2a02ecc3c03ced6ee91df800824695.zip |
Fix S3 env, set pname and version in package attribute set
Diffstat (limited to 'rs/server')
-rw-r--r-- | rs/server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rs/server/src/main.rs b/rs/server/src/main.rs index 99805a4..880cb46 100644 --- a/rs/server/src/main.rs +++ b/rs/server/src/main.rs | |||
@@ -122,7 +122,7 @@ fn require_env(name: &str) -> Result<String, String> { | |||
122 | impl Env { | 122 | impl Env { |
123 | fn load() -> Result<Env, String> { | 123 | fn load() -> Result<Env, String> { |
124 | Ok(Env { | 124 | Ok(Env { |
125 | s3_secret_access_key: require_env("GITOLFS3_S3_ACCESS_KEY_FILE")?, | 125 | s3_secret_access_key: require_env("GITOLFS3_S3_SECRET_ACCESS_KEY_FILE")?, |
126 | s3_access_key_id: require_env("GITOLFS3_S3_ACCESS_KEY_ID_FILE")?, | 126 | s3_access_key_id: require_env("GITOLFS3_S3_ACCESS_KEY_ID_FILE")?, |
127 | s3_endpoint: require_env("GITOLFS3_S3_ENDPOINT")?, | 127 | s3_endpoint: require_env("GITOLFS3_S3_ENDPOINT")?, |
128 | s3_bucket: require_env("GITOLFS3_S3_BUCKET")?, | 128 | s3_bucket: require_env("GITOLFS3_S3_BUCKET")?, |