Skip to content

Commit 494d088

Browse files
chore: revert PR #1074 comprising changes to define custom attributes for macOS
This reverts commit a0f99cd.
1 parent 80ed5d7 commit 494d088

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

recipes/newrelic/infrastructure/darwin.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ install:
135135
sed -i.bak "/^status_server_port/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
136136
sed -i.bak "/^license_key/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
137137
sed -i.bak "/^metrics_process_sample_rate/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
138-
sed -i.bak '/^custom_attributes:/,/^\S/{ /^\S/!d }' "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}.bak"
139-
sed -i.bak '/^custom_attributes:/d' "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}.bak"
140138
else
141139
mkdir -p "{{.V2_CONFIG_FILE_DIR}}"
142140
touch "{{.V2_CONFIG_FILE}}"
@@ -149,7 +147,6 @@ install:
149147
echo 'status_server_enabled: true' >> "{{.V2_CONFIG_FILE}}"
150148
echo 'status_server_port: 18003' >> "{{.V2_CONFIG_FILE}}"
151149
echo 'license_key: {{.NEW_RELIC_LICENSE_KEY}}' >> "{{.V2_CONFIG_FILE}}"
152-
echo '{{.NRIA_CUSTOM_ATTRIBUTES}}' >> "{{.V2_CONFIG_FILE}}"
153150
154151
setup_proxy:
155152
cmds:

0 commit comments

Comments
 (0)