Skip to content

Commit

Permalink
fix release_history search bug (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
nxsre authored Oct 28, 2023
1 parent 08d08b8 commit 0aebad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store/boltdb/config_file_release_history.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion store/mysql/config_file_release_history.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit 0aebad7

Please sign in to comment.