From f2acbdb49b126005377118c26967f7403a94da76 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Thu, 10 Aug 2023 17:27:09 -0500 Subject: [PATCH] Update copyright file headers to BUSL-1.1 --- .copywrite.hcl | 2 +- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/actionlint.yml | 2 +- .github/actions/install-vault/action.yml | 2 +- .github/actions/setup-js/action.yml | 2 +- .github/actions/vault-secrets/action.yml | 2 +- .github/secret-scanning.yml | 2 +- .golangci.yml | 2 +- .release/ci.hcl | 2 +- .release/linux/package/etc/nomad.d/nomad.hcl | 2 +- .release/release-metadata.hcl | 2 +- .release/security-scan.hcl | 2 +- .semgrep/api_errorf.yml | 2 +- .semgrep/changelog.yml | 2 +- .semgrep/fsm_time.yml | 2 +- .semgrep/go_tests.yml | 2 +- .semgrep/http_endpoint.yml | 2 +- .semgrep/loopclosure.yml | 2 +- .semgrep/protect_globals.yml | 2 +- .semgrep/rpc_endpoint.yml | 2 +- .semgrep/rpc_metrics.yml | 2 +- .semgrep/time_after.yml | 2 +- .semgrep/ui.yml | 2 +- nomad/acl.go | 2 +- nomad/acl_endpoint.go | 2 +- nomad/acl_endpoint_test.go | 2 +- nomad/acl_test.go | 2 +- nomad/alloc_endpoint.go | 2 +- nomad/alloc_endpoint_test.go | 2 +- nomad/autopilot.go | 2 +- nomad/autopilot_oss.go | 2 +- nomad/autopilot_test.go | 2 +- nomad/blocked_evals.go | 2 +- nomad/blocked_evals_stats.go | 2 +- nomad/blocked_evals_stats_test.go | 2 +- nomad/blocked_evals_system.go | 2 +- nomad/blocked_evals_test.go | 2 +- nomad/client_agent_endpoint.go | 2 +- nomad/client_agent_endpoint_test.go | 2 +- nomad/client_alloc_endpoint.go | 2 +- nomad/client_alloc_endpoint_test.go | 2 +- nomad/client_csi_endpoint.go | 2 +- nomad/client_csi_endpoint_test.go | 2 +- nomad/client_fs_endpoint.go | 2 +- nomad/client_fs_endpoint_test.go | 2 +- nomad/client_meta_endpoint.go | 2 +- nomad/client_meta_endpoint_test.go | 2 +- nomad/client_rpc.go | 2 +- nomad/client_rpc_test.go | 2 +- nomad/client_stats_endpoint.go | 2 +- nomad/client_stats_endpoint_test.go | 2 +- nomad/config.go | 2 +- nomad/consul.go | 2 +- nomad/consul_oss_test.go | 2 +- nomad/consul_policy.go | 2 +- nomad/consul_policy_oss_test.go | 2 +- nomad/consul_policy_test.go | 2 +- nomad/consul_test.go | 2 +- nomad/core_sched.go | 2 +- nomad/core_sched_test.go | 2 +- nomad/csi_endpoint.go | 2 +- nomad/csi_endpoint_test.go | 2 +- nomad/deployment_endpoint.go | 2 +- nomad/deployment_endpoint_test.go | 2 +- nomad/deployment_watcher_shims.go | 2 +- nomad/deploymentwatcher/batcher.go | 2 +- nomad/deploymentwatcher/deployment_watcher.go | 2 +- nomad/deploymentwatcher/deployments_watcher.go | 2 +- nomad/deploymentwatcher/deployments_watcher_test.go | 2 +- nomad/deploymentwatcher/doc.go | 2 +- nomad/deploymentwatcher/multiregion_oss.go | 2 +- nomad/deploymentwatcher/testutil_test.go | 2 +- nomad/drainer/drain_heap.go | 2 +- nomad/drainer/drain_heap_test.go | 2 +- nomad/drainer/drain_testing.go | 2 +- nomad/drainer/drainer.go | 2 +- nomad/drainer/drainer_util.go | 2 +- nomad/drainer/drainer_util_test.go | 2 +- nomad/drainer/draining_node.go | 2 +- nomad/drainer/draining_node_test.go | 2 +- nomad/drainer/watch_jobs.go | 2 +- nomad/drainer/watch_jobs_test.go | 2 +- nomad/drainer/watch_nodes.go | 2 +- nomad/drainer/watch_nodes_test.go | 2 +- nomad/drainer_int_test.go | 2 +- nomad/drainer_shims.go | 2 +- nomad/encrypter.go | 2 +- nomad/encrypter_test.go | 2 +- nomad/endpoints_oss.go | 2 +- nomad/eval_broker.go | 2 +- nomad/eval_broker_test.go | 2 +- nomad/eval_endpoint.go | 2 +- nomad/eval_endpoint_test.go | 2 +- nomad/event_endpoint.go | 2 +- nomad/event_endpoint_test.go | 2 +- nomad/fsm.go | 2 +- nomad/fsm_oss.go | 2 +- nomad/fsm_registry_oss.go | 2 +- nomad/fsm_test.go | 2 +- nomad/heartbeat.go | 2 +- nomad/heartbeat_test.go | 2 +- nomad/job_endpoint.go | 2 +- nomad/job_endpoint_hook_connect.go | 2 +- nomad/job_endpoint_hook_connect_test.go | 2 +- nomad/job_endpoint_hook_expose_check.go | 2 +- nomad/job_endpoint_hook_expose_check_test.go | 2 +- nomad/job_endpoint_hook_node_pool.go | 2 +- nomad/job_endpoint_hook_node_pool_oss.go | 2 +- nomad/job_endpoint_hook_vault.go | 2 +- nomad/job_endpoint_hook_vault_oss.go | 2 +- nomad/job_endpoint_hooks.go | 2 +- nomad/job_endpoint_hooks_test.go | 2 +- nomad/job_endpoint_oss.go | 2 +- nomad/job_endpoint_oss_test.go | 2 +- nomad/job_endpoint_test.go | 2 +- nomad/job_endpoint_validators.go | 2 +- nomad/job_endpoint_validators_test.go | 2 +- nomad/keyring_endpoint.go | 2 +- nomad/keyring_endpoint_test.go | 2 +- nomad/leader.go | 2 +- nomad/leader_oss.go | 2 +- nomad/leader_test.go | 2 +- nomad/license_config.go | 2 +- nomad/license_config_oss.go | 2 +- nomad/merge.go | 2 +- nomad/mock/acl.go | 2 +- nomad/mock/alloc.go | 2 +- nomad/mock/checks.go | 2 +- nomad/mock/connect.go | 2 +- nomad/mock/csi.go | 2 +- nomad/mock/job.go | 2 +- nomad/mock/lifecycle.go | 2 +- nomad/mock/mock.go | 2 +- nomad/mock/network.go | 2 +- nomad/mock/node.go | 2 +- nomad/mock/variables.go | 2 +- nomad/namespace_endpoint.go | 2 +- nomad/namespace_endpoint_test.go | 2 +- nomad/node_endpoint.go | 2 +- nomad/node_endpoint_test.go | 2 +- nomad/node_pool_endpoint.go | 2 +- nomad/node_pool_endpoint_oss.go | 2 +- nomad/node_pool_endpoint_test.go | 2 +- nomad/operator_endpoint.go | 2 +- nomad/operator_endpoint_test.go | 2 +- nomad/periodic.go | 2 +- nomad/periodic_endpoint.go | 2 +- nomad/periodic_endpoint_test.go | 2 +- nomad/periodic_test.go | 2 +- nomad/plan_apply.go | 2 +- nomad/plan_apply_node_tracker.go | 2 +- nomad/plan_apply_node_tracker_test.go | 2 +- nomad/plan_apply_oss.go | 2 +- nomad/plan_apply_pool.go | 2 +- nomad/plan_apply_pool_test.go | 2 +- nomad/plan_apply_test.go | 2 +- nomad/plan_endpoint.go | 2 +- nomad/plan_endpoint_test.go | 2 +- nomad/plan_normalization_test.go | 2 +- nomad/plan_queue.go | 2 +- nomad/plan_queue_test.go | 2 +- nomad/raft_rpc.go | 2 +- nomad/regions_endpoint.go | 2 +- nomad/regions_endpoint_test.go | 2 +- nomad/rpc.go | 2 +- nomad/rpc_rate_metrics.go | 2 +- nomad/rpc_test.go | 2 +- nomad/scaling_endpoint.go | 2 +- nomad/scaling_endpoint_test.go | 2 +- nomad/search_endpoint.go | 2 +- nomad/search_endpoint_oss.go | 2 +- nomad/search_endpoint_test.go | 2 +- nomad/serf.go | 2 +- nomad/serf_test.go | 2 +- nomad/server.go | 2 +- nomad/server_setup_oss.go | 2 +- nomad/server_test.go | 2 +- nomad/service_registration_endpoint.go | 2 +- nomad/service_registration_endpoint_test.go | 2 +- nomad/state/autopilot.go | 2 +- nomad/state/autopilot_test.go | 2 +- nomad/state/deployment_events_test.go | 2 +- nomad/state/events.go | 2 +- nomad/state/events_test.go | 2 +- nomad/state/indexer/indexer.go | 2 +- nomad/state/indexer/indexer_test.go | 2 +- nomad/state/indexer/time.go | 2 +- nomad/state/indexer/time_test.go | 2 +- nomad/state/iterator.go | 2 +- nomad/state/paginator/filter.go | 2 +- nomad/state/paginator/filter_test.go | 2 +- nomad/state/paginator/paginator.go | 2 +- nomad/state/paginator/paginator_test.go | 2 +- nomad/state/paginator/tokenizer.go | 2 +- nomad/state/paginator/tokenizer_test.go | 2 +- nomad/state/schema.go | 2 +- nomad/state/schema_test.go | 2 +- nomad/state/state_changes.go | 2 +- nomad/state/state_store.go | 2 +- nomad/state/state_store_acl.go | 2 +- nomad/state/state_store_acl_binding_rule.go | 2 +- nomad/state/state_store_acl_binding_rule_test.go | 2 +- nomad/state/state_store_acl_sso.go | 2 +- nomad/state/state_store_acl_sso_test.go | 2 +- nomad/state/state_store_acl_test.go | 2 +- nomad/state/state_store_node_pools.go | 2 +- nomad/state/state_store_node_pools_test.go | 2 +- nomad/state/state_store_oss.go | 2 +- nomad/state/state_store_restore.go | 2 +- nomad/state/state_store_restore_test.go | 2 +- nomad/state/state_store_service_regisration_test.go | 2 +- nomad/state/state_store_service_registration.go | 2 +- nomad/state/state_store_test.go | 2 +- nomad/state/state_store_variables.go | 2 +- nomad/state/state_store_variables_oss.go | 2 +- nomad/state/state_store_variables_test.go | 2 +- nomad/state/testing.go | 2 +- nomad/stats_fetcher.go | 2 +- nomad/stats_fetcher_test.go | 2 +- nomad/status_endpoint.go | 2 +- nomad/status_endpoint_test.go | 2 +- nomad/stream/event_broker.go | 2 +- nomad/stream/event_broker_test.go | 2 +- nomad/stream/event_buffer.go | 2 +- nomad/stream/event_buffer_test.go | 2 +- nomad/stream/ndjson.go | 2 +- nomad/stream/ndjson_test.go | 2 +- nomad/stream/subscription.go | 2 +- nomad/stream/subscription_test.go | 2 +- nomad/structs/acl.go | 2 +- nomad/structs/acl_test.go | 2 +- nomad/structs/alloc.go | 2 +- nomad/structs/alloc_test.go | 2 +- nomad/structs/autopilot.go | 2 +- nomad/structs/batch_future.go | 2 +- nomad/structs/batch_future_test.go | 2 +- nomad/structs/bitmap.go | 2 +- nomad/structs/bitmap_test.go | 2 +- nomad/structs/check_test.go | 2 +- nomad/structs/checks.go | 2 +- nomad/structs/config/artifact.go | 2 +- nomad/structs/config/artifact_test.go | 2 +- nomad/structs/config/audit.go | 2 +- nomad/structs/config/audit_test.go | 2 +- nomad/structs/config/autopilot.go | 2 +- nomad/structs/config/autopilot_test.go | 2 +- nomad/structs/config/consul.go | 2 +- nomad/structs/config/consul_test.go | 2 +- nomad/structs/config/drain.go | 2 +- nomad/structs/config/drain_test.go | 2 +- nomad/structs/config/limits.go | 2 +- nomad/structs/config/limits_test.go | 2 +- nomad/structs/config/plugins.go | 2 +- nomad/structs/config/plugins_test.go | 2 +- nomad/structs/config/sentinel.go | 2 +- nomad/structs/config/tls.go | 2 +- nomad/structs/config/tls_test.go | 2 +- nomad/structs/config/ui.go | 2 +- nomad/structs/config/ui_test.go | 2 +- nomad/structs/config/vault.go | 2 +- nomad/structs/config/vault_test.go | 2 +- nomad/structs/connect.go | 2 +- nomad/structs/connect_test.go | 2 +- nomad/structs/consul.go | 2 +- nomad/structs/consul_oss.go | 2 +- nomad/structs/consul_oss_test.go | 2 +- nomad/structs/consul_test.go | 2 +- nomad/structs/csi.go | 2 +- nomad/structs/csi_test.go | 2 +- nomad/structs/devices.go | 2 +- nomad/structs/devices_test.go | 2 +- nomad/structs/diff.go | 2 +- nomad/structs/diff_test.go | 2 +- nomad/structs/encoding.go | 2 +- nomad/structs/errors.go | 2 +- nomad/structs/errors_test.go | 2 +- nomad/structs/eval.go | 2 +- nomad/structs/event.go | 2 +- nomad/structs/extensions.go | 2 +- nomad/structs/funcs.go | 2 +- nomad/structs/funcs_test.go | 2 +- nomad/structs/generate.sh | 2 +- nomad/structs/handlers.go | 2 +- nomad/structs/job.go | 2 +- nomad/structs/job_test.go | 2 +- nomad/structs/keyring.go | 2 +- nomad/structs/network.go | 2 +- nomad/structs/network_test.go | 2 +- nomad/structs/node.go | 2 +- nomad/structs/node_class.go | 2 +- nomad/structs/node_class_test.go | 2 +- nomad/structs/node_pool.go | 2 +- nomad/structs/node_pool_oss.go | 2 +- nomad/structs/node_pool_oss_test.go | 2 +- nomad/structs/node_pool_test.go | 2 +- nomad/structs/node_test.go | 2 +- nomad/structs/operator.go | 2 +- nomad/structs/operator_test.go | 2 +- nomad/structs/search.go | 2 +- nomad/structs/service_identities.go | 2 +- nomad/structs/service_registration.go | 2 +- nomad/structs/service_registration_test.go | 2 +- nomad/structs/services.go | 2 +- nomad/structs/services_test.go | 2 +- nomad/structs/streaming_rpc.go | 2 +- nomad/structs/structs.go | 2 +- nomad/structs/structs_codegen.go | 2 +- nomad/structs/structs_oss.go | 2 +- nomad/structs/structs_oss_test.go | 2 +- nomad/structs/structs_periodic_test.go | 2 +- nomad/structs/structs_test.go | 2 +- nomad/structs/testing.go | 2 +- nomad/structs/uuid.go | 2 +- nomad/structs/variables.go | 2 +- nomad/structs/variables_test.go | 2 +- nomad/structs/vault.go | 2 +- nomad/structs/volume_test.go | 2 +- nomad/structs/volumes.go | 2 +- nomad/structs/workload_id.go | 2 +- nomad/structs/workload_id_test.go | 2 +- nomad/system_endpoint.go | 2 +- nomad/system_endpoint_test.go | 2 +- nomad/testing.go | 2 +- nomad/testing_oss.go | 2 +- nomad/timetable.go | 2 +- nomad/timetable_test.go | 2 +- nomad/util.go | 2 +- nomad/util_test.go | 2 +- nomad/variables_endpoint.go | 2 +- nomad/variables_endpoint_test.go | 2 +- nomad/vault.go | 2 +- nomad/vault_test.go | 2 +- nomad/vault_testing.go | 2 +- nomad/volumewatcher/interfaces.go | 2 +- nomad/volumewatcher/interfaces_test.go | 2 +- nomad/volumewatcher/volume_watcher.go | 2 +- nomad/volumewatcher/volume_watcher_test.go | 2 +- nomad/volumewatcher/volumes_watcher.go | 2 +- nomad/volumewatcher/volumes_watcher_test.go | 2 +- nomad/worker.go | 2 +- nomad/worker_test.go | 2 +- scripts/dist.sh | 2 +- scripts/docker-entrypoint.sh | 2 +- scripts/example_weave.bash | 2 +- scripts/linux-priv-cni.sh | 2 +- scripts/linux-priv-config.sh | 2 +- scripts/linux-priv-consul.sh | 2 +- scripts/linux-priv-dev.sh | 2 +- scripts/linux-priv-docker.sh | 2 +- scripts/linux-priv-go.sh | 2 +- scripts/linux-priv-vault.sh | 2 +- scripts/release/Dockerfile | 2 +- scripts/screenshots/Dockerfile | 2 +- scripts/screenshots/src/index.js | 2 +- scripts/screenshots/src/utils.js | 2 +- scripts/update_golang_version.sh | 2 +- scripts/vagrant-freebsd-priv-config.sh | 2 +- scripts/vagrant-freebsd-unpriv-bootstrap.sh | 2 +- scripts/vagrant-linux-priv-buf.sh | 2 +- scripts/vagrant-linux-priv-zeroconf.sh | 2 +- scripts/vagrant-linux-unpriv-bootstrap.sh | 2 +- scripts/vagrant-linux-unpriv-ui.sh | 2 +- scripts/version.sh | 2 +- 363 files changed, 363 insertions(+), 363 deletions(-) diff --git a/.copywrite.hcl b/.copywrite.hcl index d3bf61e6d..29a074fe4 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 schema_version = 1 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index c2139edb9..8505fdbd1 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 blank_issues_enabled: false contact_links: diff --git a/.github/actionlint.yml b/.github/actionlint.yml index 7dcb3c2e0..530bc6cca 100644 --- a/.github/actionlint.yml +++ b/.github/actionlint.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 self-hosted-runner: # Labels of self-hosted runner in array of string diff --git a/.github/actions/install-vault/action.yml b/.github/actions/install-vault/action.yml index 20891c81d..c519ec92c 100644 --- a/.github/actions/install-vault/action.yml +++ b/.github/actions/install-vault/action.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 name: install-vault inputs: diff --git a/.github/actions/setup-js/action.yml b/.github/actions/setup-js/action.yml index 77587c48b..d1063af4f 100644 --- a/.github/actions/setup-js/action.yml +++ b/.github/actions/setup-js/action.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 name: setup-js description: install node and yarn, and run yarn install diff --git a/.github/actions/vault-secrets/action.yml b/.github/actions/vault-secrets/action.yml index a9e035c29..3433fc40d 100644 --- a/.github/actions/vault-secrets/action.yml +++ b/.github/actions/vault-secrets/action.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 name: vault-secrets description: 'pull secrets from CI Vault into environment vars' diff --git a/.github/secret-scanning.yml b/.github/secret-scanning.yml index 37283b7ee..471f96541 100644 --- a/.github/secret-scanning.yml +++ b/.github/secret-scanning.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 paths-ignore: - "website/content/*" diff --git a/.golangci.yml b/.golangci.yml index eeb20a6ad..f0901f1c6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 run: # Timeout for analysis. diff --git a/.release/ci.hcl b/.release/ci.hcl index 6d8456e63..99610e492 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 schema = "1" diff --git a/.release/linux/package/etc/nomad.d/nomad.hcl b/.release/linux/package/etc/nomad.d/nomad.hcl index aa1060bfd..5a260a760 100644 --- a/.release/linux/package/etc/nomad.d/nomad.hcl +++ b/.release/linux/package/etc/nomad.d/nomad.hcl @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 # Full configuration options can be found at https://www.nomadproject.io/docs/configuration diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index b68104861..0efda9ff2 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 url_license = "https://github.com/hashicorp/nomad/blob/main/LICENSE" url_project_website = "https://www.nomadproject.io/" diff --git a/.release/security-scan.hcl b/.release/security-scan.hcl index 986be78aa..97a0b4a78 100644 --- a/.release/security-scan.hcl +++ b/.release/security-scan.hcl @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 container { secrets { diff --git a/.semgrep/api_errorf.yml b/.semgrep/api_errorf.yml index 42b7ee41e..22e96c8f8 100644 --- a/.semgrep/api_errorf.yml +++ b/.semgrep/api_errorf.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: "fmt_errorf_unformatted_use" diff --git a/.semgrep/changelog.yml b/.semgrep/changelog.yml index bcd169041..0f54557e1 100644 --- a/.semgrep/changelog.yml +++ b/.semgrep/changelog.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: # Check `release-note` in changelog entries. diff --git a/.semgrep/fsm_time.yml b/.semgrep/fsm_time.yml index 9a1274de7..805cb946d 100644 --- a/.semgrep/fsm_time.yml +++ b/.semgrep/fsm_time.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: "no-time-in-fsm" diff --git a/.semgrep/go_tests.yml b/.semgrep/go_tests.yml index afc779b5e..f054b5637 100644 --- a/.semgrep/go_tests.yml +++ b/.semgrep/go_tests.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: # Check `require` or `assert` testify overrides. diff --git a/.semgrep/http_endpoint.yml b/.semgrep/http_endpoint.yml index 620394cc1..cab2f143a 100644 --- a/.semgrep/http_endpoint.yml +++ b/.semgrep/http_endpoint.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: "http-endpoint-request-decode-error-code" diff --git a/.semgrep/loopclosure.yml b/.semgrep/loopclosure.yml index 88ab134c5..ce358e951 100644 --- a/.semgrep/loopclosure.yml +++ b/.semgrep/loopclosure.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: loopclosure diff --git a/.semgrep/protect_globals.yml b/.semgrep/protect_globals.yml index 162e1c19f..c66eec297 100644 --- a/.semgrep/protect_globals.yml +++ b/.semgrep/protect_globals.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: "no-overriding-struct-globals" diff --git a/.semgrep/rpc_endpoint.yml b/.semgrep/rpc_endpoint.yml index 2446b8869..98e5e503a 100644 --- a/.semgrep/rpc_endpoint.yml +++ b/.semgrep/rpc_endpoint.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: # Check potentially unauthenticated RPC endpoints. Technically more diff --git a/.semgrep/rpc_metrics.yml b/.semgrep/rpc_metrics.yml index 1b9b887dd..7ade14a59 100644 --- a/.semgrep/rpc_metrics.yml +++ b/.semgrep/rpc_metrics.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: # Check for server RPC endpoints without metrics diff --git a/.semgrep/time_after.yml b/.semgrep/time_after.yml index 3dfadd09a..78d8a2fb5 100644 --- a/.semgrep/time_after.yml +++ b/.semgrep/time_after.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: "time-after-leak" diff --git a/.semgrep/ui.yml b/.semgrep/ui.yml index 7472e789e..090893422 100644 --- a/.semgrep/ui.yml +++ b/.semgrep/ui.yml @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 rules: - id: ui-no-string-extensions diff --git a/nomad/acl.go b/nomad/acl.go index ce11cd6fe..81852d955 100644 --- a/nomad/acl.go +++ b/nomad/acl.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/acl_endpoint.go b/nomad/acl_endpoint.go index 882d805f2..fbc9c4fb9 100644 --- a/nomad/acl_endpoint.go +++ b/nomad/acl_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/acl_endpoint_test.go b/nomad/acl_endpoint_test.go index 7a1ca1192..f963c2ff4 100644 --- a/nomad/acl_endpoint_test.go +++ b/nomad/acl_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/acl_test.go b/nomad/acl_test.go index 1dd1f86bf..fd4527e05 100644 --- a/nomad/acl_test.go +++ b/nomad/acl_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/alloc_endpoint.go b/nomad/alloc_endpoint.go index 8aab0c490..5c74f1d7d 100644 --- a/nomad/alloc_endpoint.go +++ b/nomad/alloc_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/alloc_endpoint_test.go b/nomad/alloc_endpoint_test.go index 1d3ad5d3c..55fd5c811 100644 --- a/nomad/alloc_endpoint_test.go +++ b/nomad/alloc_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/autopilot.go b/nomad/autopilot.go index 1f00c0226..1afcd6955 100644 --- a/nomad/autopilot.go +++ b/nomad/autopilot.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/autopilot_oss.go b/nomad/autopilot_oss.go index f4ef8ab21..acbeaa255 100644 --- a/nomad/autopilot_oss.go +++ b/nomad/autopilot_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/autopilot_test.go b/nomad/autopilot_test.go index 36946db2f..b7f9c4894 100644 --- a/nomad/autopilot_test.go +++ b/nomad/autopilot_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/blocked_evals.go b/nomad/blocked_evals.go index 2289dd1c3..8ecccab80 100644 --- a/nomad/blocked_evals.go +++ b/nomad/blocked_evals.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/blocked_evals_stats.go b/nomad/blocked_evals_stats.go index c29e0ddfc..b241bc0b4 100644 --- a/nomad/blocked_evals_stats.go +++ b/nomad/blocked_evals_stats.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/blocked_evals_stats_test.go b/nomad/blocked_evals_stats_test.go index 3349ed265..7689b8b87 100644 --- a/nomad/blocked_evals_stats_test.go +++ b/nomad/blocked_evals_stats_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/blocked_evals_system.go b/nomad/blocked_evals_system.go index 48a906138..21c2e5f6a 100644 --- a/nomad/blocked_evals_system.go +++ b/nomad/blocked_evals_system.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/blocked_evals_test.go b/nomad/blocked_evals_test.go index 09a906e71..e0e090bd4 100644 --- a/nomad/blocked_evals_test.go +++ b/nomad/blocked_evals_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_agent_endpoint.go b/nomad/client_agent_endpoint.go index a3cc070bf..4f96087f0 100644 --- a/nomad/client_agent_endpoint.go +++ b/nomad/client_agent_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_agent_endpoint_test.go b/nomad/client_agent_endpoint_test.go index 256529d25..af1a3f2d8 100644 --- a/nomad/client_agent_endpoint_test.go +++ b/nomad/client_agent_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_alloc_endpoint.go b/nomad/client_alloc_endpoint.go index 83ba5fb7e..f0ec65d21 100644 --- a/nomad/client_alloc_endpoint.go +++ b/nomad/client_alloc_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_alloc_endpoint_test.go b/nomad/client_alloc_endpoint_test.go index 0bb91171a..0fc26442d 100644 --- a/nomad/client_alloc_endpoint_test.go +++ b/nomad/client_alloc_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_csi_endpoint.go b/nomad/client_csi_endpoint.go index 6a20f0d7e..197e17eeb 100644 --- a/nomad/client_csi_endpoint.go +++ b/nomad/client_csi_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_csi_endpoint_test.go b/nomad/client_csi_endpoint_test.go index 2de42e422..1cb0ac3bf 100644 --- a/nomad/client_csi_endpoint_test.go +++ b/nomad/client_csi_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_fs_endpoint.go b/nomad/client_fs_endpoint.go index eefa26d4a..07e410505 100644 --- a/nomad/client_fs_endpoint.go +++ b/nomad/client_fs_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_fs_endpoint_test.go b/nomad/client_fs_endpoint_test.go index 8074ac7d4..6fa68c668 100644 --- a/nomad/client_fs_endpoint_test.go +++ b/nomad/client_fs_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_meta_endpoint.go b/nomad/client_meta_endpoint.go index 8bc4fc7ec..fd606185a 100644 --- a/nomad/client_meta_endpoint.go +++ b/nomad/client_meta_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_meta_endpoint_test.go b/nomad/client_meta_endpoint_test.go index ad7f0c616..9447cf043 100644 --- a/nomad/client_meta_endpoint_test.go +++ b/nomad/client_meta_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_rpc.go b/nomad/client_rpc.go index 457127334..8fecef93b 100644 --- a/nomad/client_rpc.go +++ b/nomad/client_rpc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_rpc_test.go b/nomad/client_rpc_test.go index d3a9a19c4..d88f2bdc3 100644 --- a/nomad/client_rpc_test.go +++ b/nomad/client_rpc_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_stats_endpoint.go b/nomad/client_stats_endpoint.go index 3f8640a1a..835c354f7 100644 --- a/nomad/client_stats_endpoint.go +++ b/nomad/client_stats_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/client_stats_endpoint_test.go b/nomad/client_stats_endpoint_test.go index bf63aa03f..2703b0087 100644 --- a/nomad/client_stats_endpoint_test.go +++ b/nomad/client_stats_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/config.go b/nomad/config.go index 1563c047f..da84a80c5 100644 --- a/nomad/config.go +++ b/nomad/config.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/consul.go b/nomad/consul.go index 510adec1a..a22ca5ef1 100644 --- a/nomad/consul.go +++ b/nomad/consul.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/consul_oss_test.go b/nomad/consul_oss_test.go index c8c1323fd..effa59352 100644 --- a/nomad/consul_oss_test.go +++ b/nomad/consul_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/consul_policy.go b/nomad/consul_policy.go index 9adc318e0..dc8a0dae7 100644 --- a/nomad/consul_policy.go +++ b/nomad/consul_policy.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/consul_policy_oss_test.go b/nomad/consul_policy_oss_test.go index 8b368712d..51ff4f957 100644 --- a/nomad/consul_policy_oss_test.go +++ b/nomad/consul_policy_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent diff --git a/nomad/consul_policy_test.go b/nomad/consul_policy_test.go index a899f1e61..8709d6663 100644 --- a/nomad/consul_policy_test.go +++ b/nomad/consul_policy_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/consul_test.go b/nomad/consul_test.go index 11b39a609..cb3822faf 100644 --- a/nomad/consul_test.go +++ b/nomad/consul_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/core_sched.go b/nomad/core_sched.go index e4f2cdf9b..dbd90a6b4 100644 --- a/nomad/core_sched.go +++ b/nomad/core_sched.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/core_sched_test.go b/nomad/core_sched_test.go index 0008ab8f3..ef82abcb4 100644 --- a/nomad/core_sched_test.go +++ b/nomad/core_sched_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/csi_endpoint.go b/nomad/csi_endpoint.go index 54be55d73..c0d1a4d1e 100644 --- a/nomad/csi_endpoint.go +++ b/nomad/csi_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/csi_endpoint_test.go b/nomad/csi_endpoint_test.go index 08cbbad41..c2174bab9 100644 --- a/nomad/csi_endpoint_test.go +++ b/nomad/csi_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/deployment_endpoint.go b/nomad/deployment_endpoint.go index 193ef7c43..46e270186 100644 --- a/nomad/deployment_endpoint.go +++ b/nomad/deployment_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/deployment_endpoint_test.go b/nomad/deployment_endpoint_test.go index 1847a1f14..0b4f6751d 100644 --- a/nomad/deployment_endpoint_test.go +++ b/nomad/deployment_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/deployment_watcher_shims.go b/nomad/deployment_watcher_shims.go index ba4b5356b..dbe7cfc92 100644 --- a/nomad/deployment_watcher_shims.go +++ b/nomad/deployment_watcher_shims.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/deploymentwatcher/batcher.go b/nomad/deploymentwatcher/batcher.go index 41fdf2899..016ef49da 100644 --- a/nomad/deploymentwatcher/batcher.go +++ b/nomad/deploymentwatcher/batcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package deploymentwatcher diff --git a/nomad/deploymentwatcher/deployment_watcher.go b/nomad/deploymentwatcher/deployment_watcher.go index 687cf4411..77bc1c8eb 100644 --- a/nomad/deploymentwatcher/deployment_watcher.go +++ b/nomad/deploymentwatcher/deployment_watcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package deploymentwatcher diff --git a/nomad/deploymentwatcher/deployments_watcher.go b/nomad/deploymentwatcher/deployments_watcher.go index 395a46403..b32b9a30a 100644 --- a/nomad/deploymentwatcher/deployments_watcher.go +++ b/nomad/deploymentwatcher/deployments_watcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package deploymentwatcher diff --git a/nomad/deploymentwatcher/deployments_watcher_test.go b/nomad/deploymentwatcher/deployments_watcher_test.go index e6da817ef..cde0334bb 100644 --- a/nomad/deploymentwatcher/deployments_watcher_test.go +++ b/nomad/deploymentwatcher/deployments_watcher_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package deploymentwatcher diff --git a/nomad/deploymentwatcher/doc.go b/nomad/deploymentwatcher/doc.go index 24953b8fb..e90e22b51 100644 --- a/nomad/deploymentwatcher/doc.go +++ b/nomad/deploymentwatcher/doc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 // deploymentwatcher creates and tracks Deployments, which hold meta data describing the // process of upgrading a running job to a new set of Allocations. This encompasses settings diff --git a/nomad/deploymentwatcher/multiregion_oss.go b/nomad/deploymentwatcher/multiregion_oss.go index 6a96a2e8e..ad4033f41 100644 --- a/nomad/deploymentwatcher/multiregion_oss.go +++ b/nomad/deploymentwatcher/multiregion_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/deploymentwatcher/testutil_test.go b/nomad/deploymentwatcher/testutil_test.go index 15f05c707..7af7df9ca 100644 --- a/nomad/deploymentwatcher/testutil_test.go +++ b/nomad/deploymentwatcher/testutil_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package deploymentwatcher diff --git a/nomad/drainer/drain_heap.go b/nomad/drainer/drain_heap.go index 0069b0a67..8d22cb0e4 100644 --- a/nomad/drainer/drain_heap.go +++ b/nomad/drainer/drain_heap.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/drain_heap_test.go b/nomad/drainer/drain_heap_test.go index 8191b3c1d..37a6b22e6 100644 --- a/nomad/drainer/drain_heap_test.go +++ b/nomad/drainer/drain_heap_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/drain_testing.go b/nomad/drainer/drain_testing.go index 99b631e85..aaa9e40ba 100644 --- a/nomad/drainer/drain_testing.go +++ b/nomad/drainer/drain_testing.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/drainer.go b/nomad/drainer/drainer.go index 011495569..647d03950 100644 --- a/nomad/drainer/drainer.go +++ b/nomad/drainer/drainer.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/drainer_util.go b/nomad/drainer/drainer_util.go index 2c2d20f10..d1755bc8c 100644 --- a/nomad/drainer/drainer_util.go +++ b/nomad/drainer/drainer_util.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/drainer_util_test.go b/nomad/drainer/drainer_util_test.go index 97a1d720d..58f9360a1 100644 --- a/nomad/drainer/drainer_util_test.go +++ b/nomad/drainer/drainer_util_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/draining_node.go b/nomad/drainer/draining_node.go index ae0413e07..a18d733be 100644 --- a/nomad/drainer/draining_node.go +++ b/nomad/drainer/draining_node.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/draining_node_test.go b/nomad/drainer/draining_node_test.go index efbe260ab..02c0b3dba 100644 --- a/nomad/drainer/draining_node_test.go +++ b/nomad/drainer/draining_node_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/watch_jobs.go b/nomad/drainer/watch_jobs.go index ce44e45da..e2c456bef 100644 --- a/nomad/drainer/watch_jobs.go +++ b/nomad/drainer/watch_jobs.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/watch_jobs_test.go b/nomad/drainer/watch_jobs_test.go index 562b2cb0a..05a2a509e 100644 --- a/nomad/drainer/watch_jobs_test.go +++ b/nomad/drainer/watch_jobs_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/watch_nodes.go b/nomad/drainer/watch_nodes.go index 3bc6f19b6..951fb3d92 100644 --- a/nomad/drainer/watch_nodes.go +++ b/nomad/drainer/watch_nodes.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer/watch_nodes_test.go b/nomad/drainer/watch_nodes_test.go index 71a9b9df1..5e698e0b8 100644 --- a/nomad/drainer/watch_nodes_test.go +++ b/nomad/drainer/watch_nodes_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package drainer diff --git a/nomad/drainer_int_test.go b/nomad/drainer_int_test.go index 4a9dc49d4..429f41204 100644 --- a/nomad/drainer_int_test.go +++ b/nomad/drainer_int_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/drainer_shims.go b/nomad/drainer_shims.go index 4b2b019ab..182b2e22f 100644 --- a/nomad/drainer_shims.go +++ b/nomad/drainer_shims.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/encrypter.go b/nomad/encrypter.go index c7c071386..289408d44 100644 --- a/nomad/encrypter.go +++ b/nomad/encrypter.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/encrypter_test.go b/nomad/encrypter_test.go index 026825924..80e86bfe9 100644 --- a/nomad/encrypter_test.go +++ b/nomad/encrypter_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/endpoints_oss.go b/nomad/endpoints_oss.go index ccb91b6b7..68ddf82f8 100644 --- a/nomad/endpoints_oss.go +++ b/nomad/endpoints_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/eval_broker.go b/nomad/eval_broker.go index eb3a40a80..bee38f9cc 100644 --- a/nomad/eval_broker.go +++ b/nomad/eval_broker.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/eval_broker_test.go b/nomad/eval_broker_test.go index 8248cc57d..53a0bd581 100644 --- a/nomad/eval_broker_test.go +++ b/nomad/eval_broker_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/eval_endpoint.go b/nomad/eval_endpoint.go index d5ef1ba39..661de477e 100644 --- a/nomad/eval_endpoint.go +++ b/nomad/eval_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/eval_endpoint_test.go b/nomad/eval_endpoint_test.go index 14c9570e4..a8cd41f45 100644 --- a/nomad/eval_endpoint_test.go +++ b/nomad/eval_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/event_endpoint.go b/nomad/event_endpoint.go index 704d7346f..3c679ce77 100644 --- a/nomad/event_endpoint.go +++ b/nomad/event_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/event_endpoint_test.go b/nomad/event_endpoint_test.go index 59417c996..de1f9d0db 100644 --- a/nomad/event_endpoint_test.go +++ b/nomad/event_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/fsm.go b/nomad/fsm.go index eadac82ea..26dba94ed 100644 --- a/nomad/fsm.go +++ b/nomad/fsm.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/fsm_oss.go b/nomad/fsm_oss.go index 99dd280f3..961e389c1 100644 --- a/nomad/fsm_oss.go +++ b/nomad/fsm_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/fsm_registry_oss.go b/nomad/fsm_registry_oss.go index bd01763da..694771cf1 100644 --- a/nomad/fsm_registry_oss.go +++ b/nomad/fsm_registry_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/fsm_test.go b/nomad/fsm_test.go index a2667d4ed..3fec797a1 100644 --- a/nomad/fsm_test.go +++ b/nomad/fsm_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/heartbeat.go b/nomad/heartbeat.go index 1bca3e47d..25ba5348a 100644 --- a/nomad/heartbeat.go +++ b/nomad/heartbeat.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/heartbeat_test.go b/nomad/heartbeat_test.go index ced7a9813..80e1014c6 100644 --- a/nomad/heartbeat_test.go +++ b/nomad/heartbeat_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint.go b/nomad/job_endpoint.go index a976cd6f1..c17cc2858 100644 --- a/nomad/job_endpoint.go +++ b/nomad/job_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_connect.go b/nomad/job_endpoint_hook_connect.go index cb7bd72b6..5c4ad1dfc 100644 --- a/nomad/job_endpoint_hook_connect.go +++ b/nomad/job_endpoint_hook_connect.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_connect_test.go b/nomad/job_endpoint_hook_connect_test.go index 0b1209beb..2e0fc88bf 100644 --- a/nomad/job_endpoint_hook_connect_test.go +++ b/nomad/job_endpoint_hook_connect_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_expose_check.go b/nomad/job_endpoint_hook_expose_check.go index d6a3265d2..67198871e 100644 --- a/nomad/job_endpoint_hook_expose_check.go +++ b/nomad/job_endpoint_hook_expose_check.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_expose_check_test.go b/nomad/job_endpoint_hook_expose_check_test.go index 3420033d5..1de7ac0ab 100644 --- a/nomad/job_endpoint_hook_expose_check_test.go +++ b/nomad/job_endpoint_hook_expose_check_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_node_pool.go b/nomad/job_endpoint_hook_node_pool.go index a483d090d..617a4df71 100644 --- a/nomad/job_endpoint_hook_node_pool.go +++ b/nomad/job_endpoint_hook_node_pool.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_node_pool_oss.go b/nomad/job_endpoint_hook_node_pool_oss.go index 768208161..dc0682c42 100644 --- a/nomad/job_endpoint_hook_node_pool_oss.go +++ b/nomad/job_endpoint_hook_node_pool_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/job_endpoint_hook_vault.go b/nomad/job_endpoint_hook_vault.go index 4196f0f2e..75bf62d0e 100644 --- a/nomad/job_endpoint_hook_vault.go +++ b/nomad/job_endpoint_hook_vault.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hook_vault_oss.go b/nomad/job_endpoint_hook_vault_oss.go index b87eabcd1..d8c0486bb 100644 --- a/nomad/job_endpoint_hook_vault_oss.go +++ b/nomad/job_endpoint_hook_vault_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/job_endpoint_hooks.go b/nomad/job_endpoint_hooks.go index ee28e19db..a7b7a4ad2 100644 --- a/nomad/job_endpoint_hooks.go +++ b/nomad/job_endpoint_hooks.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_hooks_test.go b/nomad/job_endpoint_hooks_test.go index b6475e14d..8a7272b4e 100644 --- a/nomad/job_endpoint_hooks_test.go +++ b/nomad/job_endpoint_hooks_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_oss.go b/nomad/job_endpoint_oss.go index dfdd00278..41e840f8b 100644 --- a/nomad/job_endpoint_oss.go +++ b/nomad/job_endpoint_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/job_endpoint_oss_test.go b/nomad/job_endpoint_oss_test.go index e01abac2d..5a46114a9 100644 --- a/nomad/job_endpoint_oss_test.go +++ b/nomad/job_endpoint_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/job_endpoint_test.go b/nomad/job_endpoint_test.go index 79ba20506..381edb85c 100644 --- a/nomad/job_endpoint_test.go +++ b/nomad/job_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_validators.go b/nomad/job_endpoint_validators.go index 4e0e01686..1285ea2bf 100644 --- a/nomad/job_endpoint_validators.go +++ b/nomad/job_endpoint_validators.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/job_endpoint_validators_test.go b/nomad/job_endpoint_validators_test.go index a21d1508d..500dbcaac 100644 --- a/nomad/job_endpoint_validators_test.go +++ b/nomad/job_endpoint_validators_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/keyring_endpoint.go b/nomad/keyring_endpoint.go index 8b6b5d80b..4bae3e38e 100644 --- a/nomad/keyring_endpoint.go +++ b/nomad/keyring_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/keyring_endpoint_test.go b/nomad/keyring_endpoint_test.go index fc2953592..a2c702f61 100644 --- a/nomad/keyring_endpoint_test.go +++ b/nomad/keyring_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/leader.go b/nomad/leader.go index d8898b690..dce59eab5 100644 --- a/nomad/leader.go +++ b/nomad/leader.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/leader_oss.go b/nomad/leader_oss.go index b2474f108..754aa82c8 100644 --- a/nomad/leader_oss.go +++ b/nomad/leader_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/leader_test.go b/nomad/leader_test.go index 3b9267d88..fe4330761 100644 --- a/nomad/leader_test.go +++ b/nomad/leader_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/license_config.go b/nomad/license_config.go index 3f3f00980..3e8b3fe75 100644 --- a/nomad/license_config.go +++ b/nomad/license_config.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/license_config_oss.go b/nomad/license_config_oss.go index cb0ae5bf2..2276a3825 100644 --- a/nomad/license_config_oss.go +++ b/nomad/license_config_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent diff --git a/nomad/merge.go b/nomad/merge.go index 9757c2e9b..11be8384f 100644 --- a/nomad/merge.go +++ b/nomad/merge.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/mock/acl.go b/nomad/mock/acl.go index 6d2d676cb..54d116c08 100644 --- a/nomad/mock/acl.go +++ b/nomad/mock/acl.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/alloc.go b/nomad/mock/alloc.go index 91f318520..bfdd6ba35 100644 --- a/nomad/mock/alloc.go +++ b/nomad/mock/alloc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/checks.go b/nomad/mock/checks.go index b8f254fd2..75197aa57 100644 --- a/nomad/mock/checks.go +++ b/nomad/mock/checks.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/connect.go b/nomad/mock/connect.go index 80dcdaa28..a52e589eb 100644 --- a/nomad/mock/connect.go +++ b/nomad/mock/connect.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/csi.go b/nomad/mock/csi.go index 3d3004e20..aa4176c59 100644 --- a/nomad/mock/csi.go +++ b/nomad/mock/csi.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/job.go b/nomad/mock/job.go index 450f801ed..646275b04 100644 --- a/nomad/mock/job.go +++ b/nomad/mock/job.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/lifecycle.go b/nomad/mock/lifecycle.go index 60881d6aa..2a6fae64d 100644 --- a/nomad/mock/lifecycle.go +++ b/nomad/mock/lifecycle.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/mock.go b/nomad/mock/mock.go index 728a931aa..6636d2101 100644 --- a/nomad/mock/mock.go +++ b/nomad/mock/mock.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/network.go b/nomad/mock/network.go index fa93a2800..e70b9f89f 100644 --- a/nomad/mock/network.go +++ b/nomad/mock/network.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/node.go b/nomad/mock/node.go index 1f44181df..918acebfa 100644 --- a/nomad/mock/node.go +++ b/nomad/mock/node.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/mock/variables.go b/nomad/mock/variables.go index cd029a5b3..cc14a5965 100644 --- a/nomad/mock/variables.go +++ b/nomad/mock/variables.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package mock diff --git a/nomad/namespace_endpoint.go b/nomad/namespace_endpoint.go index ed1d2ae75..5e9b5073e 100644 --- a/nomad/namespace_endpoint.go +++ b/nomad/namespace_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/namespace_endpoint_test.go b/nomad/namespace_endpoint_test.go index a0578b513..384d4c2f9 100644 --- a/nomad/namespace_endpoint_test.go +++ b/nomad/namespace_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/node_endpoint.go b/nomad/node_endpoint.go index 9a911fae1..8a8d646e9 100644 --- a/nomad/node_endpoint.go +++ b/nomad/node_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/node_endpoint_test.go b/nomad/node_endpoint_test.go index dc30e400d..6ef8dcdd8 100644 --- a/nomad/node_endpoint_test.go +++ b/nomad/node_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/node_pool_endpoint.go b/nomad/node_pool_endpoint.go index 3a8b8568f..c0de8b1e5 100644 --- a/nomad/node_pool_endpoint.go +++ b/nomad/node_pool_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/node_pool_endpoint_oss.go b/nomad/node_pool_endpoint_oss.go index 28a6bbec8..bc5c6b58e 100644 --- a/nomad/node_pool_endpoint_oss.go +++ b/nomad/node_pool_endpoint_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/node_pool_endpoint_test.go b/nomad/node_pool_endpoint_test.go index ba67b4a3f..140b4ed8b 100644 --- a/nomad/node_pool_endpoint_test.go +++ b/nomad/node_pool_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/operator_endpoint.go b/nomad/operator_endpoint.go index 858e176b1..73b94d93c 100644 --- a/nomad/operator_endpoint.go +++ b/nomad/operator_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/operator_endpoint_test.go b/nomad/operator_endpoint_test.go index 517feac10..fdd9a62a4 100644 --- a/nomad/operator_endpoint_test.go +++ b/nomad/operator_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/periodic.go b/nomad/periodic.go index 02a076475..d457e665a 100644 --- a/nomad/periodic.go +++ b/nomad/periodic.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/periodic_endpoint.go b/nomad/periodic_endpoint.go index cd2b49084..49b9ff0fe 100644 --- a/nomad/periodic_endpoint.go +++ b/nomad/periodic_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/periodic_endpoint_test.go b/nomad/periodic_endpoint_test.go index e2a04eb29..d19cfdec4 100644 --- a/nomad/periodic_endpoint_test.go +++ b/nomad/periodic_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/periodic_test.go b/nomad/periodic_test.go index 02e729c4f..1718c434c 100644 --- a/nomad/periodic_test.go +++ b/nomad/periodic_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply.go b/nomad/plan_apply.go index b8bac8165..2b68b896d 100644 --- a/nomad/plan_apply.go +++ b/nomad/plan_apply.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply_node_tracker.go b/nomad/plan_apply_node_tracker.go index 49722c25c..9f080109c 100644 --- a/nomad/plan_apply_node_tracker.go +++ b/nomad/plan_apply_node_tracker.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply_node_tracker_test.go b/nomad/plan_apply_node_tracker_test.go index bcad657a4..a26c07e8b 100644 --- a/nomad/plan_apply_node_tracker_test.go +++ b/nomad/plan_apply_node_tracker_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply_oss.go b/nomad/plan_apply_oss.go index e2ee5c347..670de068d 100644 --- a/nomad/plan_apply_oss.go +++ b/nomad/plan_apply_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/plan_apply_pool.go b/nomad/plan_apply_pool.go index 962cc03b2..151939617 100644 --- a/nomad/plan_apply_pool.go +++ b/nomad/plan_apply_pool.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply_pool_test.go b/nomad/plan_apply_pool_test.go index 38563e74d..af8a84584 100644 --- a/nomad/plan_apply_pool_test.go +++ b/nomad/plan_apply_pool_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_apply_test.go b/nomad/plan_apply_test.go index a8f3c26c3..8b0b73708 100644 --- a/nomad/plan_apply_test.go +++ b/nomad/plan_apply_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_endpoint.go b/nomad/plan_endpoint.go index 8c751bc49..e7f0ecec7 100644 --- a/nomad/plan_endpoint.go +++ b/nomad/plan_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_endpoint_test.go b/nomad/plan_endpoint_test.go index 20e056d59..01eef7478 100644 --- a/nomad/plan_endpoint_test.go +++ b/nomad/plan_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_normalization_test.go b/nomad/plan_normalization_test.go index 7819dac21..ffa23a5be 100644 --- a/nomad/plan_normalization_test.go +++ b/nomad/plan_normalization_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_queue.go b/nomad/plan_queue.go index f62fac01b..bd9f23e63 100644 --- a/nomad/plan_queue.go +++ b/nomad/plan_queue.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/plan_queue_test.go b/nomad/plan_queue_test.go index f2c68a738..a8a897b61 100644 --- a/nomad/plan_queue_test.go +++ b/nomad/plan_queue_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/raft_rpc.go b/nomad/raft_rpc.go index c7749a061..8c6f234fc 100644 --- a/nomad/raft_rpc.go +++ b/nomad/raft_rpc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/regions_endpoint.go b/nomad/regions_endpoint.go index e87aa9af6..ef96b4941 100644 --- a/nomad/regions_endpoint.go +++ b/nomad/regions_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/regions_endpoint_test.go b/nomad/regions_endpoint_test.go index 18db40bfb..7a74d20df 100644 --- a/nomad/regions_endpoint_test.go +++ b/nomad/regions_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/rpc.go b/nomad/rpc.go index 448597ea8..e76a88087 100644 --- a/nomad/rpc.go +++ b/nomad/rpc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/rpc_rate_metrics.go b/nomad/rpc_rate_metrics.go index 1f55c87af..8caf7a8b9 100644 --- a/nomad/rpc_rate_metrics.go +++ b/nomad/rpc_rate_metrics.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/rpc_test.go b/nomad/rpc_test.go index 1a6e02160..8aed8ec45 100644 --- a/nomad/rpc_test.go +++ b/nomad/rpc_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/scaling_endpoint.go b/nomad/scaling_endpoint.go index 6877c5232..3a7b0ecbf 100644 --- a/nomad/scaling_endpoint.go +++ b/nomad/scaling_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/scaling_endpoint_test.go b/nomad/scaling_endpoint_test.go index 7c747a6ae..242ad0811 100644 --- a/nomad/scaling_endpoint_test.go +++ b/nomad/scaling_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/search_endpoint.go b/nomad/search_endpoint.go index 5d5be1c6a..dceb259bd 100644 --- a/nomad/search_endpoint.go +++ b/nomad/search_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/search_endpoint_oss.go b/nomad/search_endpoint_oss.go index 0d1334f1b..579786b32 100644 --- a/nomad/search_endpoint_oss.go +++ b/nomad/search_endpoint_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/search_endpoint_test.go b/nomad/search_endpoint_test.go index 9de49cea6..c001ca180 100644 --- a/nomad/search_endpoint_test.go +++ b/nomad/search_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/serf.go b/nomad/serf.go index 736395b36..9d5534a6d 100644 --- a/nomad/serf.go +++ b/nomad/serf.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/serf_test.go b/nomad/serf_test.go index a304a8ef6..2112b7124 100644 --- a/nomad/serf_test.go +++ b/nomad/serf_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/server.go b/nomad/server.go index b6f66463b..12f25a646 100644 --- a/nomad/server.go +++ b/nomad/server.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/server_setup_oss.go b/nomad/server_setup_oss.go index f9adc1c30..6dc903cc9 100644 --- a/nomad/server_setup_oss.go +++ b/nomad/server_setup_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent diff --git a/nomad/server_test.go b/nomad/server_test.go index 258a5a81d..7469ba0a3 100644 --- a/nomad/server_test.go +++ b/nomad/server_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/service_registration_endpoint.go b/nomad/service_registration_endpoint.go index f5abae79b..b9954f4c9 100644 --- a/nomad/service_registration_endpoint.go +++ b/nomad/service_registration_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/service_registration_endpoint_test.go b/nomad/service_registration_endpoint_test.go index f8bc8f6d3..c916eef30 100644 --- a/nomad/service_registration_endpoint_test.go +++ b/nomad/service_registration_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/state/autopilot.go b/nomad/state/autopilot.go index 663c301e1..3f7fa5a26 100644 --- a/nomad/state/autopilot.go +++ b/nomad/state/autopilot.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/autopilot_test.go b/nomad/state/autopilot_test.go index 1772b7b62..e482bdb7e 100644 --- a/nomad/state/autopilot_test.go +++ b/nomad/state/autopilot_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/deployment_events_test.go b/nomad/state/deployment_events_test.go index ac73107d4..3bf9e9f6c 100644 --- a/nomad/state/deployment_events_test.go +++ b/nomad/state/deployment_events_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/events.go b/nomad/state/events.go index 410aa1845..798d1ec48 100644 --- a/nomad/state/events.go +++ b/nomad/state/events.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/events_test.go b/nomad/state/events_test.go index 9a24e14cf..e7ce6b1ce 100644 --- a/nomad/state/events_test.go +++ b/nomad/state/events_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/indexer/indexer.go b/nomad/state/indexer/indexer.go index d061db0a1..526127559 100644 --- a/nomad/state/indexer/indexer.go +++ b/nomad/state/indexer/indexer.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package indexer diff --git a/nomad/state/indexer/indexer_test.go b/nomad/state/indexer/indexer_test.go index d3cea7fba..81c790205 100644 --- a/nomad/state/indexer/indexer_test.go +++ b/nomad/state/indexer/indexer_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package indexer diff --git a/nomad/state/indexer/time.go b/nomad/state/indexer/time.go index 9adc83711..fa8e06d61 100644 --- a/nomad/state/indexer/time.go +++ b/nomad/state/indexer/time.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package indexer diff --git a/nomad/state/indexer/time_test.go b/nomad/state/indexer/time_test.go index fa733c3a3..2458c947c 100644 --- a/nomad/state/indexer/time_test.go +++ b/nomad/state/indexer/time_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package indexer diff --git a/nomad/state/iterator.go b/nomad/state/iterator.go index b6629a10e..2cc3cb3dc 100644 --- a/nomad/state/iterator.go +++ b/nomad/state/iterator.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/paginator/filter.go b/nomad/state/paginator/filter.go index f4e637ad7..ca198b093 100644 --- a/nomad/state/paginator/filter.go +++ b/nomad/state/paginator/filter.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/paginator/filter_test.go b/nomad/state/paginator/filter_test.go index e7afc29a4..2a85bc132 100644 --- a/nomad/state/paginator/filter_test.go +++ b/nomad/state/paginator/filter_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/paginator/paginator.go b/nomad/state/paginator/paginator.go index 10789fc00..db5fabaa6 100644 --- a/nomad/state/paginator/paginator.go +++ b/nomad/state/paginator/paginator.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/paginator/paginator_test.go b/nomad/state/paginator/paginator_test.go index 4f3e40b01..4ca272644 100644 --- a/nomad/state/paginator/paginator_test.go +++ b/nomad/state/paginator/paginator_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/paginator/tokenizer.go b/nomad/state/paginator/tokenizer.go index 83d25a5b0..f3487bf31 100644 --- a/nomad/state/paginator/tokenizer.go +++ b/nomad/state/paginator/tokenizer.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/paginator/tokenizer_test.go b/nomad/state/paginator/tokenizer_test.go index a5ac26d56..30600ddd5 100644 --- a/nomad/state/paginator/tokenizer_test.go +++ b/nomad/state/paginator/tokenizer_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package paginator diff --git a/nomad/state/schema.go b/nomad/state/schema.go index 1d90b9d7b..34b2063ba 100644 --- a/nomad/state/schema.go +++ b/nomad/state/schema.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/schema_test.go b/nomad/state/schema_test.go index ead576b90..8a4ca3973 100644 --- a/nomad/state/schema_test.go +++ b/nomad/state/schema_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_changes.go b/nomad/state/state_changes.go index 40c6cb3fc..df2f0b14e 100644 --- a/nomad/state/state_changes.go +++ b/nomad/state/state_changes.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store.go b/nomad/state/state_store.go index 43c1dd1a5..0c80ff8a5 100644 --- a/nomad/state/state_store.go +++ b/nomad/state/state_store.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl.go b/nomad/state/state_store_acl.go index 0b4c872b5..461a68f28 100644 --- a/nomad/state/state_store_acl.go +++ b/nomad/state/state_store_acl.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl_binding_rule.go b/nomad/state/state_store_acl_binding_rule.go index c35b80839..428873b3c 100644 --- a/nomad/state/state_store_acl_binding_rule.go +++ b/nomad/state/state_store_acl_binding_rule.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl_binding_rule_test.go b/nomad/state/state_store_acl_binding_rule_test.go index 1cd2c152b..43fbb0f32 100644 --- a/nomad/state/state_store_acl_binding_rule_test.go +++ b/nomad/state/state_store_acl_binding_rule_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl_sso.go b/nomad/state/state_store_acl_sso.go index 8744a1533..428c88ec3 100644 --- a/nomad/state/state_store_acl_sso.go +++ b/nomad/state/state_store_acl_sso.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl_sso_test.go b/nomad/state/state_store_acl_sso_test.go index f7a98f673..54394f570 100644 --- a/nomad/state/state_store_acl_sso_test.go +++ b/nomad/state/state_store_acl_sso_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_acl_test.go b/nomad/state/state_store_acl_test.go index f24b0a9f4..e7fce7ffb 100644 --- a/nomad/state/state_store_acl_test.go +++ b/nomad/state/state_store_acl_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_node_pools.go b/nomad/state/state_store_node_pools.go index a524f3e45..f542b0014 100644 --- a/nomad/state/state_store_node_pools.go +++ b/nomad/state/state_store_node_pools.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_node_pools_test.go b/nomad/state/state_store_node_pools_test.go index e1841ab3f..4649f99b6 100644 --- a/nomad/state/state_store_node_pools_test.go +++ b/nomad/state/state_store_node_pools_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_oss.go b/nomad/state/state_store_oss.go index f01da618b..1bb5cb125 100644 --- a/nomad/state/state_store_oss.go +++ b/nomad/state/state_store_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/state/state_store_restore.go b/nomad/state/state_store_restore.go index 4c9dbefb5..f8a4a6dda 100644 --- a/nomad/state/state_store_restore.go +++ b/nomad/state/state_store_restore.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_restore_test.go b/nomad/state/state_store_restore_test.go index 01320b165..f2b1c15db 100644 --- a/nomad/state/state_store_restore_test.go +++ b/nomad/state/state_store_restore_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_service_regisration_test.go b/nomad/state/state_store_service_regisration_test.go index 1bf0a3d7a..6f050a2c3 100644 --- a/nomad/state/state_store_service_regisration_test.go +++ b/nomad/state/state_store_service_regisration_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_service_registration.go b/nomad/state/state_store_service_registration.go index 0b8ade4ed..f4f7beae6 100644 --- a/nomad/state/state_store_service_registration.go +++ b/nomad/state/state_store_service_registration.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_test.go b/nomad/state/state_store_test.go index 81aa4aaf8..52778d092 100644 --- a/nomad/state/state_store_test.go +++ b/nomad/state/state_store_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_variables.go b/nomad/state/state_store_variables.go index 7dd527ae5..d39d6fa6c 100644 --- a/nomad/state/state_store_variables.go +++ b/nomad/state/state_store_variables.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/state_store_variables_oss.go b/nomad/state/state_store_variables_oss.go index 7ba318bdf..47d93cf6b 100644 --- a/nomad/state/state_store_variables_oss.go +++ b/nomad/state/state_store_variables_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/state/state_store_variables_test.go b/nomad/state/state_store_variables_test.go index f65f7eab9..a610af3ba 100644 --- a/nomad/state/state_store_variables_test.go +++ b/nomad/state/state_store_variables_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/state/testing.go b/nomad/state/testing.go index acc225566..dcad49098 100644 --- a/nomad/state/testing.go +++ b/nomad/state/testing.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package state diff --git a/nomad/stats_fetcher.go b/nomad/stats_fetcher.go index 2bf0b42e4..78d1722b4 100644 --- a/nomad/stats_fetcher.go +++ b/nomad/stats_fetcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/stats_fetcher_test.go b/nomad/stats_fetcher_test.go index c505e3469..055e1a184 100644 --- a/nomad/stats_fetcher_test.go +++ b/nomad/stats_fetcher_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/status_endpoint.go b/nomad/status_endpoint.go index f0192dd9e..e4893d481 100644 --- a/nomad/status_endpoint.go +++ b/nomad/status_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/status_endpoint_test.go b/nomad/status_endpoint_test.go index 0c71c8315..0747692fb 100644 --- a/nomad/status_endpoint_test.go +++ b/nomad/status_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/stream/event_broker.go b/nomad/stream/event_broker.go index 27e270577..db24e7e2c 100644 --- a/nomad/stream/event_broker.go +++ b/nomad/stream/event_broker.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/event_broker_test.go b/nomad/stream/event_broker_test.go index aa08e1370..618cb4456 100644 --- a/nomad/stream/event_broker_test.go +++ b/nomad/stream/event_broker_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/event_buffer.go b/nomad/stream/event_buffer.go index e134c1ea2..ed0240b8c 100644 --- a/nomad/stream/event_buffer.go +++ b/nomad/stream/event_buffer.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/event_buffer_test.go b/nomad/stream/event_buffer_test.go index d3815a50f..3366b81c9 100644 --- a/nomad/stream/event_buffer_test.go +++ b/nomad/stream/event_buffer_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/ndjson.go b/nomad/stream/ndjson.go index 7e048f3bf..45287476c 100644 --- a/nomad/stream/ndjson.go +++ b/nomad/stream/ndjson.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/ndjson_test.go b/nomad/stream/ndjson_test.go index 8d39ff4d9..fbdb3b721 100644 --- a/nomad/stream/ndjson_test.go +++ b/nomad/stream/ndjson_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/subscription.go b/nomad/stream/subscription.go index 175eab3f8..fdbb11930 100644 --- a/nomad/stream/subscription.go +++ b/nomad/stream/subscription.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/stream/subscription_test.go b/nomad/stream/subscription_test.go index 93490de80..db3fe72e9 100644 --- a/nomad/stream/subscription_test.go +++ b/nomad/stream/subscription_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package stream diff --git a/nomad/structs/acl.go b/nomad/structs/acl.go index 0135e2104..93c040a30 100644 --- a/nomad/structs/acl.go +++ b/nomad/structs/acl.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/acl_test.go b/nomad/structs/acl_test.go index ede674e2c..fbcc9ebd9 100644 --- a/nomad/structs/acl_test.go +++ b/nomad/structs/acl_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/alloc.go b/nomad/structs/alloc.go index 7a9d0c562..a75948bf1 100644 --- a/nomad/structs/alloc.go +++ b/nomad/structs/alloc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/alloc_test.go b/nomad/structs/alloc_test.go index e7c5030c5..46efb5e99 100644 --- a/nomad/structs/alloc_test.go +++ b/nomad/structs/alloc_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/autopilot.go b/nomad/structs/autopilot.go index 53ed21cad..51333252d 100644 --- a/nomad/structs/autopilot.go +++ b/nomad/structs/autopilot.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/batch_future.go b/nomad/structs/batch_future.go index 293395727..c12614a93 100644 --- a/nomad/structs/batch_future.go +++ b/nomad/structs/batch_future.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/batch_future_test.go b/nomad/structs/batch_future_test.go index d88c7a39f..24b94fb7b 100644 --- a/nomad/structs/batch_future_test.go +++ b/nomad/structs/batch_future_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/bitmap.go b/nomad/structs/bitmap.go index f3077d9c7..777c88094 100644 --- a/nomad/structs/bitmap.go +++ b/nomad/structs/bitmap.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/bitmap_test.go b/nomad/structs/bitmap_test.go index 473e140a7..8c86088e5 100644 --- a/nomad/structs/bitmap_test.go +++ b/nomad/structs/bitmap_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/check_test.go b/nomad/structs/check_test.go index f07c05797..48aa030cd 100644 --- a/nomad/structs/check_test.go +++ b/nomad/structs/check_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/checks.go b/nomad/structs/checks.go index 7cac9820d..c07fc737b 100644 --- a/nomad/structs/checks.go +++ b/nomad/structs/checks.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/config/artifact.go b/nomad/structs/config/artifact.go index 8a8e1cc70..71625f459 100644 --- a/nomad/structs/config/artifact.go +++ b/nomad/structs/config/artifact.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/artifact_test.go b/nomad/structs/config/artifact_test.go index 30c4ed529..f78feecb8 100644 --- a/nomad/structs/config/artifact_test.go +++ b/nomad/structs/config/artifact_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/audit.go b/nomad/structs/config/audit.go index ffcd31c71..c800136b6 100644 --- a/nomad/structs/config/audit.go +++ b/nomad/structs/config/audit.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/audit_test.go b/nomad/structs/config/audit_test.go index d0615756f..23ceaaff9 100644 --- a/nomad/structs/config/audit_test.go +++ b/nomad/structs/config/audit_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/autopilot.go b/nomad/structs/config/autopilot.go index 9bf50334e..f3710264f 100644 --- a/nomad/structs/config/autopilot.go +++ b/nomad/structs/config/autopilot.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/autopilot_test.go b/nomad/structs/config/autopilot_test.go index 5e24d2d44..260afe854 100644 --- a/nomad/structs/config/autopilot_test.go +++ b/nomad/structs/config/autopilot_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/consul.go b/nomad/structs/config/consul.go index bfd135471..0046dddc8 100644 --- a/nomad/structs/config/consul.go +++ b/nomad/structs/config/consul.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/consul_test.go b/nomad/structs/config/consul_test.go index 76d40b90f..8440f8cde 100644 --- a/nomad/structs/config/consul_test.go +++ b/nomad/structs/config/consul_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/drain.go b/nomad/structs/config/drain.go index 02b596cfe..c1c2d9faf 100644 --- a/nomad/structs/config/drain.go +++ b/nomad/structs/config/drain.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/drain_test.go b/nomad/structs/config/drain_test.go index 8e2fb4923..c13624484 100644 --- a/nomad/structs/config/drain_test.go +++ b/nomad/structs/config/drain_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/limits.go b/nomad/structs/config/limits.go index da72aeac0..c590d5752 100644 --- a/nomad/structs/config/limits.go +++ b/nomad/structs/config/limits.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/limits_test.go b/nomad/structs/config/limits_test.go index 68b450a81..6ff9c6bd3 100644 --- a/nomad/structs/config/limits_test.go +++ b/nomad/structs/config/limits_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/plugins.go b/nomad/structs/config/plugins.go index 1c6f03102..b43f45338 100644 --- a/nomad/structs/config/plugins.go +++ b/nomad/structs/config/plugins.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/plugins_test.go b/nomad/structs/config/plugins_test.go index 6cd8e2662..8b92c91cb 100644 --- a/nomad/structs/config/plugins_test.go +++ b/nomad/structs/config/plugins_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/sentinel.go b/nomad/structs/config/sentinel.go index 1704192e7..e82b3cc78 100644 --- a/nomad/structs/config/sentinel.go +++ b/nomad/structs/config/sentinel.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/tls.go b/nomad/structs/config/tls.go index 793b5e645..3ae147616 100644 --- a/nomad/structs/config/tls.go +++ b/nomad/structs/config/tls.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/tls_test.go b/nomad/structs/config/tls_test.go index 3a6601d7d..3239ff4f6 100644 --- a/nomad/structs/config/tls_test.go +++ b/nomad/structs/config/tls_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/ui.go b/nomad/structs/config/ui.go index 0fd97a1b8..f9b5117d7 100644 --- a/nomad/structs/config/ui.go +++ b/nomad/structs/config/ui.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/ui_test.go b/nomad/structs/config/ui_test.go index 2e5a7a205..e33108f03 100644 --- a/nomad/structs/config/ui_test.go +++ b/nomad/structs/config/ui_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/vault.go b/nomad/structs/config/vault.go index e0eaad208..b6038f82a 100644 --- a/nomad/structs/config/vault.go +++ b/nomad/structs/config/vault.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/config/vault_test.go b/nomad/structs/config/vault_test.go index b27124e3d..f8c71d745 100644 --- a/nomad/structs/config/vault_test.go +++ b/nomad/structs/config/vault_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package config diff --git a/nomad/structs/connect.go b/nomad/structs/connect.go index ae1accda3..1b6d4b6ff 100644 --- a/nomad/structs/connect.go +++ b/nomad/structs/connect.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/connect_test.go b/nomad/structs/connect_test.go index c68bf9d68..c7361af89 100644 --- a/nomad/structs/connect_test.go +++ b/nomad/structs/connect_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/consul.go b/nomad/structs/consul.go index c90a7a1a8..d89a31188 100644 --- a/nomad/structs/consul.go +++ b/nomad/structs/consul.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/consul_oss.go b/nomad/structs/consul_oss.go index 6f8ba2d70..0cfd94a57 100644 --- a/nomad/structs/consul_oss.go +++ b/nomad/structs/consul_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/consul_oss_test.go b/nomad/structs/consul_oss_test.go index b38480b87..f94e6706e 100644 --- a/nomad/structs/consul_oss_test.go +++ b/nomad/structs/consul_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/consul_test.go b/nomad/structs/consul_test.go index b9d8812d1..feba0ea61 100644 --- a/nomad/structs/consul_test.go +++ b/nomad/structs/consul_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/csi.go b/nomad/structs/csi.go index 5b1cdbffb..4c936aeb6 100644 --- a/nomad/structs/csi.go +++ b/nomad/structs/csi.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/csi_test.go b/nomad/structs/csi_test.go index f67543915..ba57dc4ab 100644 --- a/nomad/structs/csi_test.go +++ b/nomad/structs/csi_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/devices.go b/nomad/structs/devices.go index a2ead93a1..a88bf1912 100644 --- a/nomad/structs/devices.go +++ b/nomad/structs/devices.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/devices_test.go b/nomad/structs/devices_test.go index 1d6f7f496..b0c248ec3 100644 --- a/nomad/structs/devices_test.go +++ b/nomad/structs/devices_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/diff.go b/nomad/structs/diff.go index 0312b2b4a..8e649568a 100644 --- a/nomad/structs/diff.go +++ b/nomad/structs/diff.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/diff_test.go b/nomad/structs/diff_test.go index f7286d69f..412c8cd82 100644 --- a/nomad/structs/diff_test.go +++ b/nomad/structs/diff_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/encoding.go b/nomad/structs/encoding.go index 3ea1500d0..4ed3ecf4d 100644 --- a/nomad/structs/encoding.go +++ b/nomad/structs/encoding.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/errors.go b/nomad/structs/errors.go index 1d03e3b41..89680a57c 100644 --- a/nomad/structs/errors.go +++ b/nomad/structs/errors.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/errors_test.go b/nomad/structs/errors_test.go index f6132d601..d31037da5 100644 --- a/nomad/structs/errors_test.go +++ b/nomad/structs/errors_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/eval.go b/nomad/structs/eval.go index 35a9ac72f..cbe3b268c 100644 --- a/nomad/structs/eval.go +++ b/nomad/structs/eval.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/event.go b/nomad/structs/event.go index 2d729b644..1eca62046 100644 --- a/nomad/structs/event.go +++ b/nomad/structs/event.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/extensions.go b/nomad/structs/extensions.go index 65b822946..81db74635 100644 --- a/nomad/structs/extensions.go +++ b/nomad/structs/extensions.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/funcs.go b/nomad/structs/funcs.go index 212453aa3..8fcd50531 100644 --- a/nomad/structs/funcs.go +++ b/nomad/structs/funcs.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/funcs_test.go b/nomad/structs/funcs_test.go index b1d31a72b..41784e308 100644 --- a/nomad/structs/funcs_test.go +++ b/nomad/structs/funcs_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/generate.sh b/nomad/structs/generate.sh index d59405594..146fd182f 100755 --- a/nomad/structs/generate.sh +++ b/nomad/structs/generate.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -e diff --git a/nomad/structs/handlers.go b/nomad/structs/handlers.go index c3edd63a8..bc370af18 100644 --- a/nomad/structs/handlers.go +++ b/nomad/structs/handlers.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/job.go b/nomad/structs/job.go index 1c3ab467e..53226f40a 100644 --- a/nomad/structs/job.go +++ b/nomad/structs/job.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/job_test.go b/nomad/structs/job_test.go index 1d617bcf8..d706e78c2 100644 --- a/nomad/structs/job_test.go +++ b/nomad/structs/job_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/keyring.go b/nomad/structs/keyring.go index 73c34fcfb..62430ba31 100644 --- a/nomad/structs/keyring.go +++ b/nomad/structs/keyring.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/network.go b/nomad/structs/network.go index 7374967b2..4369fb525 100644 --- a/nomad/structs/network.go +++ b/nomad/structs/network.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/network_test.go b/nomad/structs/network_test.go index 754f8f249..5aef459bc 100644 --- a/nomad/structs/network_test.go +++ b/nomad/structs/network_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node.go b/nomad/structs/node.go index ec5c68bfe..d4751752a 100644 --- a/nomad/structs/node.go +++ b/nomad/structs/node.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node_class.go b/nomad/structs/node_class.go index 4f4c497a3..c6b101620 100644 --- a/nomad/structs/node_class.go +++ b/nomad/structs/node_class.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node_class_test.go b/nomad/structs/node_class_test.go index 2c9327f04..baccaa095 100644 --- a/nomad/structs/node_class_test.go +++ b/nomad/structs/node_class_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node_pool.go b/nomad/structs/node_pool.go index 4c17807d4..4805bd509 100644 --- a/nomad/structs/node_pool.go +++ b/nomad/structs/node_pool.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node_pool_oss.go b/nomad/structs/node_pool_oss.go index c2db5c394..285810b21 100644 --- a/nomad/structs/node_pool_oss.go +++ b/nomad/structs/node_pool_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/node_pool_oss_test.go b/nomad/structs/node_pool_oss_test.go index df56cc9f7..faae99bb0 100644 --- a/nomad/structs/node_pool_oss_test.go +++ b/nomad/structs/node_pool_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/node_pool_test.go b/nomad/structs/node_pool_test.go index dd04df74c..eef8c8bef 100644 --- a/nomad/structs/node_pool_test.go +++ b/nomad/structs/node_pool_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/node_test.go b/nomad/structs/node_test.go index 70995bffc..1404b3ff2 100644 --- a/nomad/structs/node_test.go +++ b/nomad/structs/node_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/operator.go b/nomad/structs/operator.go index 91184024e..70a3704d9 100644 --- a/nomad/structs/operator.go +++ b/nomad/structs/operator.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/operator_test.go b/nomad/structs/operator_test.go index 229fdb050..66acf4d9b 100644 --- a/nomad/structs/operator_test.go +++ b/nomad/structs/operator_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/search.go b/nomad/structs/search.go index 19ac7c8c3..b71798c21 100644 --- a/nomad/structs/search.go +++ b/nomad/structs/search.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/service_identities.go b/nomad/structs/service_identities.go index 88013916e..f377b780d 100644 --- a/nomad/structs/service_identities.go +++ b/nomad/structs/service_identities.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/service_registration.go b/nomad/structs/service_registration.go index 7d4fe4c92..b170bbdb8 100644 --- a/nomad/structs/service_registration.go +++ b/nomad/structs/service_registration.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/service_registration_test.go b/nomad/structs/service_registration_test.go index 47afee8f8..5c17722f7 100644 --- a/nomad/structs/service_registration_test.go +++ b/nomad/structs/service_registration_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/services.go b/nomad/structs/services.go index d3ff1ce77..1dee85910 100644 --- a/nomad/structs/services.go +++ b/nomad/structs/services.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/services_test.go b/nomad/structs/services_test.go index 0368f307a..85f25e613 100644 --- a/nomad/structs/services_test.go +++ b/nomad/structs/services_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/streaming_rpc.go b/nomad/structs/streaming_rpc.go index acd65e027..4d6ff7d74 100644 --- a/nomad/structs/streaming_rpc.go +++ b/nomad/structs/streaming_rpc.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 691f0db49..68943f871 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/structs_codegen.go b/nomad/structs/structs_codegen.go index 453dee6e2..dc8eb8749 100644 --- a/nomad/structs/structs_codegen.go +++ b/nomad/structs/structs_codegen.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/structs_oss.go b/nomad/structs/structs_oss.go index af4224a53..870ad1ef4 100644 --- a/nomad/structs/structs_oss.go +++ b/nomad/structs/structs_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/structs_oss_test.go b/nomad/structs/structs_oss_test.go index e2f04ee1b..f30524b88 100644 --- a/nomad/structs/structs_oss_test.go +++ b/nomad/structs/structs_oss_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/structs/structs_periodic_test.go b/nomad/structs/structs_periodic_test.go index 0956f5e35..0afe4640a 100644 --- a/nomad/structs/structs_periodic_test.go +++ b/nomad/structs/structs_periodic_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/structs_test.go b/nomad/structs/structs_test.go index c49a10412..192e5292d 100644 --- a/nomad/structs/structs_test.go +++ b/nomad/structs/structs_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/testing.go b/nomad/structs/testing.go index c1b18edb9..df2db0822 100644 --- a/nomad/structs/testing.go +++ b/nomad/structs/testing.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/uuid.go b/nomad/structs/uuid.go index bd1bdcfbb..0c58bd504 100644 --- a/nomad/structs/uuid.go +++ b/nomad/structs/uuid.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/variables.go b/nomad/structs/variables.go index 423df8deb..e801a55de 100644 --- a/nomad/structs/variables.go +++ b/nomad/structs/variables.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/variables_test.go b/nomad/structs/variables_test.go index 2145e50f5..0184dfcba 100644 --- a/nomad/structs/variables_test.go +++ b/nomad/structs/variables_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/vault.go b/nomad/structs/vault.go index 547d8d00b..092bc44eb 100644 --- a/nomad/structs/vault.go +++ b/nomad/structs/vault.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/volume_test.go b/nomad/structs/volume_test.go index 99a2e94bd..fc26702ee 100644 --- a/nomad/structs/volume_test.go +++ b/nomad/structs/volume_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/volumes.go b/nomad/structs/volumes.go index 781e23f9f..08e8ae658 100644 --- a/nomad/structs/volumes.go +++ b/nomad/structs/volumes.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/workload_id.go b/nomad/structs/workload_id.go index eceedd6f4..8158da27e 100644 --- a/nomad/structs/workload_id.go +++ b/nomad/structs/workload_id.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/structs/workload_id_test.go b/nomad/structs/workload_id_test.go index 1b5d2f23e..a5425d42b 100644 --- a/nomad/structs/workload_id_test.go +++ b/nomad/structs/workload_id_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package structs diff --git a/nomad/system_endpoint.go b/nomad/system_endpoint.go index 168696b95..accd1e453 100644 --- a/nomad/system_endpoint.go +++ b/nomad/system_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/system_endpoint_test.go b/nomad/system_endpoint_test.go index e67a9b59b..ecc54bbc4 100644 --- a/nomad/system_endpoint_test.go +++ b/nomad/system_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/testing.go b/nomad/testing.go index 7d1753982..45d7bf478 100644 --- a/nomad/testing.go +++ b/nomad/testing.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/testing_oss.go b/nomad/testing_oss.go index 33cd2992f..2dd4bc3a1 100644 --- a/nomad/testing_oss.go +++ b/nomad/testing_oss.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 //go:build !ent // +build !ent diff --git a/nomad/timetable.go b/nomad/timetable.go index 06d80d06f..215135b22 100644 --- a/nomad/timetable.go +++ b/nomad/timetable.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/timetable_test.go b/nomad/timetable_test.go index 0e50e58b4..6d4c3f076 100644 --- a/nomad/timetable_test.go +++ b/nomad/timetable_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/util.go b/nomad/util.go index 1365da6b4..c4a20bdfb 100644 --- a/nomad/util.go +++ b/nomad/util.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/util_test.go b/nomad/util_test.go index 75f89df63..29847b65a 100644 --- a/nomad/util_test.go +++ b/nomad/util_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/variables_endpoint.go b/nomad/variables_endpoint.go index 572fec976..57644312f 100644 --- a/nomad/variables_endpoint.go +++ b/nomad/variables_endpoint.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/variables_endpoint_test.go b/nomad/variables_endpoint_test.go index f1b1c1727..97c102ec7 100644 --- a/nomad/variables_endpoint_test.go +++ b/nomad/variables_endpoint_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/vault.go b/nomad/vault.go index d32777b18..8d5ba610a 100644 --- a/nomad/vault.go +++ b/nomad/vault.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/vault_test.go b/nomad/vault_test.go index 1ce9cf789..2db2ffcc1 100644 --- a/nomad/vault_test.go +++ b/nomad/vault_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/vault_testing.go b/nomad/vault_testing.go index 6bda5a4f2..5675cf1b8 100644 --- a/nomad/vault_testing.go +++ b/nomad/vault_testing.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/volumewatcher/interfaces.go b/nomad/volumewatcher/interfaces.go index b735b75fa..67b1b0032 100644 --- a/nomad/volumewatcher/interfaces.go +++ b/nomad/volumewatcher/interfaces.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/volumewatcher/interfaces_test.go b/nomad/volumewatcher/interfaces_test.go index 660ba3bce..c31827a37 100644 --- a/nomad/volumewatcher/interfaces_test.go +++ b/nomad/volumewatcher/interfaces_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/volumewatcher/volume_watcher.go b/nomad/volumewatcher/volume_watcher.go index fedf533ae..efa29505f 100644 --- a/nomad/volumewatcher/volume_watcher.go +++ b/nomad/volumewatcher/volume_watcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/volumewatcher/volume_watcher_test.go b/nomad/volumewatcher/volume_watcher_test.go index ae5dc198d..5a1180194 100644 --- a/nomad/volumewatcher/volume_watcher_test.go +++ b/nomad/volumewatcher/volume_watcher_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/volumewatcher/volumes_watcher.go b/nomad/volumewatcher/volumes_watcher.go index 687f56ec8..2da49c7d1 100644 --- a/nomad/volumewatcher/volumes_watcher.go +++ b/nomad/volumewatcher/volumes_watcher.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/volumewatcher/volumes_watcher_test.go b/nomad/volumewatcher/volumes_watcher_test.go index fd02f72f3..83dc2e1f4 100644 --- a/nomad/volumewatcher/volumes_watcher_test.go +++ b/nomad/volumewatcher/volumes_watcher_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package volumewatcher diff --git a/nomad/worker.go b/nomad/worker.go index 8caf93d70..75f3691cf 100644 --- a/nomad/worker.go +++ b/nomad/worker.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/nomad/worker_test.go b/nomad/worker_test.go index 0e2d4f96f..a3c389b99 100644 --- a/nomad/worker_test.go +++ b/nomad/worker_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: BUSL-1.1 package nomad diff --git a/scripts/dist.sh b/scripts/dist.sh index 127dc02d6..a1b19c811 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -e diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh index 177f81062..21fbe9a29 100755 --- a/scripts/docker-entrypoint.sh +++ b/scripts/docker-entrypoint.sh @@ -1,6 +1,6 @@ #!/usr/bin/env ash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 case "$1" in diff --git a/scripts/example_weave.bash b/scripts/example_weave.bash index 836dcdb1d..48fb066ce 100755 --- a/scripts/example_weave.bash +++ b/scripts/example_weave.bash @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 if [[ "$USER" != "vagrant" ]]; then echo "WARNING: This script is intended to be run from Nomad's Vagrant" diff --git a/scripts/linux-priv-cni.sh b/scripts/linux-priv-cni.sh index 716361207..b6187fed8 100755 --- a/scripts/linux-priv-cni.sh +++ b/scripts/linux-priv-cni.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/linux-priv-config.sh b/scripts/linux-priv-config.sh index 7e13c941d..e493fcfbe 100755 --- a/scripts/linux-priv-config.sh +++ b/scripts/linux-priv-config.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 export DEBIAN_FRONTEND=noninteractive diff --git a/scripts/linux-priv-consul.sh b/scripts/linux-priv-consul.sh index 9c146c432..b281fd801 100755 --- a/scripts/linux-priv-consul.sh +++ b/scripts/linux-priv-consul.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/linux-priv-dev.sh b/scripts/linux-priv-dev.sh index 761fbb483..bc2949685 100755 --- a/scripts/linux-priv-dev.sh +++ b/scripts/linux-priv-dev.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 # Install Development utilities diff --git a/scripts/linux-priv-docker.sh b/scripts/linux-priv-docker.sh index 00a57fe69..a4f8785b0 100755 --- a/scripts/linux-priv-docker.sh +++ b/scripts/linux-priv-docker.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 # Source: https://docs.docker.com/engine/install/ubuntu/ diff --git a/scripts/linux-priv-go.sh b/scripts/linux-priv-go.sh index 8b9fc3daf..c424b6194 100755 --- a/scripts/linux-priv-go.sh +++ b/scripts/linux-priv-go.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/linux-priv-vault.sh b/scripts/linux-priv-vault.sh index ea81a3caa..4f30b303b 100755 --- a/scripts/linux-priv-vault.sh +++ b/scripts/linux-priv-vault.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/release/Dockerfile b/scripts/release/Dockerfile index 63703fea4..a0ce095e6 100644 --- a/scripts/release/Dockerfile +++ b/scripts/release/Dockerfile @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 # Dockerfile for building nomad binaries # that mimics Vagrant environment as far as required diff --git a/scripts/screenshots/Dockerfile b/scripts/screenshots/Dockerfile index 5e04403d1..4490bccf3 100644 --- a/scripts/screenshots/Dockerfile +++ b/scripts/screenshots/Dockerfile @@ -1,5 +1,5 @@ # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 FROM buildkite/puppeteer:v1.15.0 diff --git a/scripts/screenshots/src/index.js b/scripts/screenshots/src/index.js index 9352b2a21..41ac81832 100644 --- a/scripts/screenshots/src/index.js +++ b/scripts/screenshots/src/index.js @@ -1,6 +1,6 @@ /** * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 + * SPDX-License-Identifier: BUSL-1.1 */ const puppeteer = require("puppeteer"); diff --git a/scripts/screenshots/src/utils.js b/scripts/screenshots/src/utils.js index 7d9df47db..8af5b1df9 100644 --- a/scripts/screenshots/src/utils.js +++ b/scripts/screenshots/src/utils.js @@ -1,6 +1,6 @@ /** * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 + * SPDX-License-Identifier: BUSL-1.1 */ async function error(browser, message = "Something went wrong.") { diff --git a/scripts/update_golang_version.sh b/scripts/update_golang_version.sh index 81fdfd218..7665ae0cd 100755 --- a/scripts/update_golang_version.sh +++ b/scripts/update_golang_version.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -euo pipefail diff --git a/scripts/vagrant-freebsd-priv-config.sh b/scripts/vagrant-freebsd-priv-config.sh index 0fe322fb6..69236f232 100755 --- a/scripts/vagrant-freebsd-priv-config.sh +++ b/scripts/vagrant-freebsd-priv-config.sh @@ -1,6 +1,6 @@ #!/bin/sh # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 chown vagrant:wheel \ diff --git a/scripts/vagrant-freebsd-unpriv-bootstrap.sh b/scripts/vagrant-freebsd-unpriv-bootstrap.sh index cf17199d4..72c88e600 100755 --- a/scripts/vagrant-freebsd-unpriv-bootstrap.sh +++ b/scripts/vagrant-freebsd-unpriv-bootstrap.sh @@ -1,6 +1,6 @@ #!/bin/sh # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 export GOPATH=/opt/gopath diff --git a/scripts/vagrant-linux-priv-buf.sh b/scripts/vagrant-linux-priv-buf.sh index 238000b23..af0909063 100755 --- a/scripts/vagrant-linux-priv-buf.sh +++ b/scripts/vagrant-linux-priv-buf.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/vagrant-linux-priv-zeroconf.sh b/scripts/vagrant-linux-priv-zeroconf.sh index 1daeab849..5d9ef6332 100755 --- a/scripts/vagrant-linux-priv-zeroconf.sh +++ b/scripts/vagrant-linux-priv-zeroconf.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 set -o errexit diff --git a/scripts/vagrant-linux-unpriv-bootstrap.sh b/scripts/vagrant-linux-unpriv-bootstrap.sh index a4dc2d094..2444a63e8 100755 --- a/scripts/vagrant-linux-unpriv-bootstrap.sh +++ b/scripts/vagrant-linux-unpriv-bootstrap.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 cd /opt/gopath/src/github.com/hashicorp/nomad && make bootstrap diff --git a/scripts/vagrant-linux-unpriv-ui.sh b/scripts/vagrant-linux-unpriv-ui.sh index b4cbf1c6d..18451778c 100755 --- a/scripts/vagrant-linux-unpriv-ui.sh +++ b/scripts/vagrant-linux-unpriv-ui.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 export NODE_VERSION=18.16.1 diff --git a/scripts/version.sh b/scripts/version.sh index f5f6e0535..c11835f76 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: BUSL-1.1 version_file=$1