Skip to content

Commit

Permalink
feat: modify inject system token from config
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Jan 6, 2024
1 parent 6a3ad78 commit 62d9728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spaceone/plugin/manager/plugin_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging
import time

from spaceone.core import config
from spaceone.core.manager import BaseManager
from spaceone.plugin.manager.plugin_manager.plugin_ref_manager import *
from spaceone.plugin.manager.plugin_manager.plugin_state import *
Expand Down Expand Up @@ -248,7 +249,7 @@ def wait_until_activated(self, supervisor_id, plugin_id, version):
return installed_plugin

def get_secret_data(self, secret_id, domain_id):
system_token = self.transaction.get_meta("token")
system_token = config.get_global("TOKEN")

secret_connector: SpaceConnector = self.locator.get_connector(
"SpaceConnector", service="secret"
Expand Down

0 comments on commit 62d9728

Please sign in to comment.