Compare commits

..
Author SHA1 Message Date
dzu
770ef5f8fc minor: capitalization
All checks were successful
Build and update the action / build-and-upload (push) Successful in 3m23s
2026-02-17 18:54:44 +00:00
dzu
9931aec24d fix: endpoint typo 2026-02-17 18:54:20 +00:00

View file

@ -94,8 +94,8 @@ struct Client {
struct CacheId(u64);
impl Client {
fn reserve(&self, key: &CacheKey, cacheSize: usize) -> Result<CacheId> {
let uri = format!("{}/_apis/artifactcache/reverveCache", self.base_url);
fn reserve(&self, key: &CacheKey, cache_size: usize) -> Result<CacheId> {
let uri = format!("{}/_apis/artifactcache/reserveCache", self.base_url);
println!("will use uri: {uri}");
let request = Request::builder()
.uri(uri)
@ -104,7 +104,7 @@ impl Client {
serde_json::json! {{
"key": &key.0,
"version": "0",
"cacheSize": cacheSize,
"cacheSize": cache_size,
}}
.to_string(),
)