From 2911611556ce89a64a786e2314082c06b313b4bc Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Mon, 9 Mar 2026 13:29:18 -0500 Subject: [PATCH 1/2] Enable deprecation warnings --- gitops.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitops.sh b/gitops.sh index bcff87c1..1cd52552 100755 --- a/gitops.sh +++ b/gitops.sh @@ -11,6 +11,8 @@ FLEET_GLOBAL_FILE="${FLEET_GLOBAL_FILE:-$FLEET_GITOPS_DIR/default.yml}" FLEETCTL="${FLEETCTL:-fleetctl}" FLEET_DRY_RUN_ONLY="${FLEET_DRY_RUN_ONLY:-false}" FLEET_DELETE_OTHER_TEAMS="${FLEET_DELETE_OTHER_TEAMS:-true}" +# shellcheck disable=SC2034 +FLEET_ENABLE_LOG_TOPICS=deprecated-field-names # Check for existence of the global file in case the script is used # on repositories with team only yamls. From ef8eaf4cbdc61f49a0f3dd979765050b38d49fbd Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Mon, 9 Mar 2026 13:30:42 -0500 Subject: [PATCH 2/2] Add quotes --- gitops.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitops.sh b/gitops.sh index 1cd52552..07987e18 100755 --- a/gitops.sh +++ b/gitops.sh @@ -12,7 +12,7 @@ FLEETCTL="${FLEETCTL:-fleetctl}" FLEET_DRY_RUN_ONLY="${FLEET_DRY_RUN_ONLY:-false}" FLEET_DELETE_OTHER_TEAMS="${FLEET_DELETE_OTHER_TEAMS:-true}" # shellcheck disable=SC2034 -FLEET_ENABLE_LOG_TOPICS=deprecated-field-names +FLEET_ENABLE_LOG_TOPICS="deprecated-field-names" # Check for existence of the global file in case the script is used # on repositories with team only yamls.