refactor(env): rename NOCACHE to NO_CACHE

This commit is contained in:
Orhun Parmaksız 2022-03-19 00:54:05 +03:00
parent c47b6c35ac
commit 36e9a7693b
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
2 changed files with 2 additions and 2 deletions

View file

@ -17,5 +17,5 @@ COPY --from=builder \
/home/rust/src/linux-docs \
/usr/share/doc/linux-docs
USER 1000:1000
ENV NOCACHE=1
ENV NO_CACHE=1
ENTRYPOINT ["systeroid"]

View file

@ -34,7 +34,7 @@ pub const DEPRECATED_PARAMS: &[&str] = &["base_reachable_time", "retrans_time"];
pub const KERNEL_DOCS_ENV: &str = "KERNEL_DOCS";
/// Environment variable for disabling the cache.
pub(crate) const DISABLE_CACHE_ENV: &str = "NOCACHE";
pub(crate) const DISABLE_CACHE_ENV: &str = "NO_CACHE";
/// Label for caching the kernel parameters.
pub(crate) const PARAMETERS_CACHE_LABEL: &str = "parameters";