Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:支持文件配置持久化 #227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

codyyu1
Copy link

@codyyu1 codyyu1 commented Dec 27, 2024

feat:支持文件配置持久化

@@ -65,7 +65,7 @@ type ConfigFileRepo struct {
}

// ConfigFileRepoChangeListener 远程配置文件发布监听器
type ConfigFileRepoChangeListener func(configFileMetadata model.ConfigFileMetadata, newContent string) error
type ConfigFileRepoChangeListener func(configFileMetadata model.ConfigFileMetadata, newContent string, saveFilePath string, saveFileEncoding string, saveFilePostCmd string) error
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要兼容一下以前的版本

@@ -19,6 +19,7 @@ package configuration

import (
"fmt"
"github.com/polarismesh/polaris-go/pkg/model"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注意下引入问题,应该插入31和32之间

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants