fix: ...
This commit is contained in:
@@ -698,8 +698,8 @@ func ActiveSoftwareToNF(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
runCmd := fmt.Sprintf("sudo %s/actpkg.sh %s '%s'",
|
runCmd := fmt.Sprintf("sudo %s/actpkg.sh '%s' %s",
|
||||||
config.GetYamlConfig().NE.ScpDir, neTypeUpper, filePath)
|
config.GetYamlConfig().NE.ScpDir, filePath, neTypeUpper)
|
||||||
if neTypeLower == "omc" {
|
if neTypeLower == "omc" {
|
||||||
idNeVersion, _ := strconv.Atoi((*neVersion)[0]["id"])
|
idNeVersion, _ := strconv.Atoi((*neVersion)[0]["id"])
|
||||||
neVersionData := dborm.NeVersion{
|
neVersionData := dborm.NeVersion{
|
||||||
@@ -898,8 +898,8 @@ func RollBackSoftwareToNF(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
runCmd := fmt.Sprintf("sudo %s/rbkpkg.sh %s '%s'",
|
runCmd := fmt.Sprintf("sudo %s/rbkpkg.sh '%s' %s",
|
||||||
config.GetYamlConfig().NE.ScpDir, neTypeUpper, filePath)
|
config.GetYamlConfig().NE.ScpDir, filePath, neTypeUpper)
|
||||||
if neTypeLower == "omc" {
|
if neTypeLower == "omc" {
|
||||||
idNeVersion, _ := strconv.Atoi((*neVersion)[0]["id"])
|
idNeVersion, _ := strconv.Atoi((*neVersion)[0]["id"])
|
||||||
neVersionData := dborm.NeVersion{
|
neVersionData := dborm.NeVersion{
|
||||||
|
|||||||
Reference in New Issue
Block a user