[BugFix] Docker so11y cannot be disabled (#4471)

### Motivation:

This patch fixes the bug that there's no chance to disable the so11y in docker container.

### Modifications:

- Remove the default so11y section, and only add it when the environment variable exists.

### Result:

- Users can disable so11y by leaving the `SW_TELEMETRY` empty or set it to `none`
This commit is contained in:
kezhenxu94 2020-03-09 20:42:26 +08:00 committed by GitHub
parent ccb23d0faf
commit fff3378d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -384,8 +384,6 @@ receiver-jvm:
default:
receiver-clr:
default:
receiver-so11y:
default:
service-mesh:
default:
bufferPath: \${SW_SERVICE_MESH_BUFFER_PATH:../mesh-buffer/} # Path to trace buffer files, suggest to use absolute path

View File

@ -385,8 +385,6 @@ receiver-jvm:
default:
receiver-clr:
default:
receiver-so11y:
default:
receiver-profile:
default:
service-mesh: