diff --git a/store/boltdb/config_file_release_history.go b/store/boltdb/config_file_release_history.go index 5156adafd..10340327a 100644 --- a/store/boltdb/config_file_release_history.go +++ b/store/boltdb/config_file_release_history.go @@ -98,7 +98,7 @@ func (rh *configFileReleaseHistoryStore) QueryConfigFileReleaseHistories(filter var ( namespace = filter["namespace"] group = filter["group"] - fileName = filter["name"] + fileName = filter["file_name"] endId, _ = strconv.ParseUint(filter["endId"], 10, 64) fields = []string{FileHistoryFieldNamespace, FileHistoryFieldGroup, FileHistoryFieldFileName, FileHistoryFieldId} diff --git a/store/mysql/config_file_release_history.go b/store/mysql/config_file_release_history.go index 10b15b052..8101d334f 100644 --- a/store/mysql/config_file_release_history.go +++ b/store/mysql/config_file_release_history.go @@ -61,7 +61,7 @@ func (rh *configFileReleaseHistoryStore) QueryConfigFileReleaseHistories(filter namespace := filter["namespace"] group := filter["group"] - fileName := filter["name"] + fileName := filter["file_name"] endId, _ := strconv.ParseUint(filter["endId"], 10, 64) var queryParams []interface{}