Change diff store key

This commit is contained in:
Luc Perkins 2024-05-27 16:53:58 -03:00
parent 0944191ed3
commit 56552edb56
No known key found for this signature in database
GPG Key ID: 16DB1108FB591835
3 changed files with 5 additions and 5 deletions

4
dist/index.js generated vendored
View File

@ -95166,7 +95166,7 @@ async function flakeHubLogin(netrc) {
var ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR"; var ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR";
var FACT_AUTHENTICATED_ENV = "authenticated_env"; var FACT_AUTHENTICATED_ENV = "authenticated_env";
var FACT_DIFF_STORE = "diff_store"; var FACT_DIFF_STORE_ENABLED = "diff_store";
var FACT_NOOP_MODE = "noop_mode"; var FACT_NOOP_MODE = "noop_mode";
var STATE_DAEMONDIR = "MAGIC_NIX_CACHE_DAEMONDIR"; var STATE_DAEMONDIR = "MAGIC_NIX_CACHE_DAEMONDIR";
var STATE_STARTED = "MAGIC_NIX_CACHE_STARTED"; var STATE_STARTED = "MAGIC_NIX_CACHE_STARTED";
@ -95184,7 +95184,7 @@ var MagicNixCacheAction = class extends DetSysAction {
}); });
this.hostAndPort = inputs_exports.getString("listen"); this.hostAndPort = inputs_exports.getString("listen");
this.diffStore = inputs_exports.getBool("diff-store"); this.diffStore = inputs_exports.getBool("diff-store");
this.addFact(FACT_DIFF_STORE, this.diffStore); this.addFact(FACT_DIFF_STORE_ENABLED, this.diffStore);
this.httpClient = got_dist_source.extend({ this.httpClient = got_dist_source.extend({
retry: { retry: {
limit: 1, limit: 1,

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ import { inspect } from "node:util";
const ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR"; const ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR";
const FACT_AUTHENTICATED_ENV = "authenticated_env"; const FACT_AUTHENTICATED_ENV = "authenticated_env";
const FACT_DIFF_STORE = "diff_store"; const FACT_DIFF_STORE_ENABLED = "diff_store";
const FACT_NOOP_MODE = "noop_mode"; const FACT_NOOP_MODE = "noop_mode";
const STATE_DAEMONDIR = "MAGIC_NIX_CACHE_DAEMONDIR"; const STATE_DAEMONDIR = "MAGIC_NIX_CACHE_DAEMONDIR";
@ -48,7 +48,7 @@ class MagicNixCacheAction extends DetSysAction {
this.hostAndPort = inputs.getString("listen"); this.hostAndPort = inputs.getString("listen");
this.diffStore = inputs.getBool("diff-store"); this.diffStore = inputs.getBool("diff-store");
this.addFact(FACT_DIFF_STORE, this.diffStore); this.addFact(FACT_DIFF_STORE_ENABLED, this.diffStore);
this.httpClient = got.extend({ this.httpClient = got.extend({
retry: { retry: {