浏览代码

fix: can not start local by REMOTE_SETTINGS_SOURCE_NAME change it to … (#11535)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong 4 月之前
父节点
当前提交
afffd345bc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api/configs/remote_settings_sources/__init__.py

+ 2 - 2
api/configs/remote_settings_sources/__init__.py

@@ -8,9 +8,9 @@ from .enums import RemoteSettingsSourceName
 
 
 class RemoteSettingsSourceConfig(ApolloSettingsSourceInfo):
-    REMOTE_SETTINGS_SOURCE_NAME: Optional[RemoteSettingsSourceName] = Field(
+    REMOTE_SETTINGS_SOURCE_NAME: RemoteSettingsSourceName | str = Field(
         description="name of remote config source",
-        default=None,
+        default="",
     )