style: 网元公共文件para5G路径变更
This commit is contained in:
@@ -491,7 +491,7 @@ func (r *NeInfoImpl) NeConfigFileWirte(neInfo model.NeInfo, filePath, fileType s
|
||||
// 返回 string map[string]any
|
||||
func (r *NeInfoImpl) NeConfPara5GRead(fileType string) any {
|
||||
// 网管本地路径
|
||||
omcFilePath := "/usr/local/omc/etc/para5G.yaml"
|
||||
omcFilePath := "/usr/local/etc/omc/para5G.yaml"
|
||||
if runtime.GOOS == "windows" {
|
||||
omcFilePath = fmt.Sprintf("C:%s", omcFilePath)
|
||||
}
|
||||
@@ -517,7 +517,7 @@ func (r *NeInfoImpl) NeConfPara5GRead(fileType string) any {
|
||||
// NeConfPara5GWirte 网元公共配置文件写入 content内容 syncNE同步到网元端NeType@NeId
|
||||
func (r *NeInfoImpl) NeConfPara5GWirte(fileType string, content any, syncNE []string) error {
|
||||
// 网管本地路径
|
||||
omcFilePath := "/usr/local/omc/etc/para5G.yaml"
|
||||
omcFilePath := "/usr/local/etc/omc/para5G.yaml"
|
||||
if runtime.GOOS == "windows" {
|
||||
omcFilePath = fmt.Sprintf("C:%s", omcFilePath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user