You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/08/03 12:19:11 UTC
[skywalking-python] branch master updated: cleanup: remove unused
methods (#139)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
The following commit(s) were added to refs/heads/master by this push:
new b5f15bc cleanup: remove unused methods (#139)
b5f15bc is described below
commit b5f15bc6a08243bace155b6e64a0c9134db90f29
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Aug 3 20:19:05 2021 +0800
cleanup: remove unused methods (#139)
`serialize` and `deserialize` were used in `SwProcess` and now it's removed we should also remove them
---
skywalking/config.py | 11 -----------
tests/plugin/sw_rabbitmq/docker-compose.yml | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/skywalking/config.py b/skywalking/config.py
index 5a95483..8741f49 100644
--- a/skywalking/config.py
+++ b/skywalking/config.py
@@ -96,14 +96,3 @@ def finalize():
global RE_IGNORE_PATH
RE_IGNORE_PATH = re.compile('%s|%s' % (suffix, path))
-
-
-def serialize():
- glob = globals()
-
- return {key: glob[key] for key in options}
-
-
-def deserialize(data):
- init(**data)
- finalize()
diff --git a/tests/plugin/sw_rabbitmq/docker-compose.yml b/tests/plugin/sw_rabbitmq/docker-compose.yml
index acb8043..a4e0da4 100644
--- a/tests/plugin/sw_rabbitmq/docker-compose.yml
+++ b/tests/plugin/sw_rabbitmq/docker-compose.yml
@@ -24,7 +24,7 @@ services:
file: ../docker/docker-compose.base.yml
rabbitmq-server:
- image: rabbitmq:latest
+ image: rabbitmq:3.8.18
hostname: rabbitmq-server
ports:
- 5672:5672