Skip to content

Commit

Permalink
Release 2021.09.02.2 (#999) [skip pd_pr]
Browse files Browse the repository at this point in the history
* fix lint & update v2021.09.02.2
  • Loading branch information
shhdgit authored Sep 2, 2021
1 parent 4bef8fa commit 8f3ae7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/apiserver/diagnose/diagnose.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"net/http"
"net/url"
"os"
"path/filepath"
"sync"
"time"

Expand Down Expand Up @@ -172,7 +173,7 @@ func (s *Service) metricsRelationViewHandler(c *gin.Context) {
return
}

data, err := ioutil.ReadFile(path)
data, err := ioutil.ReadFile(filepath.Clean(path))
if err != nil {
_ = c.Error(err)
return
Expand Down
2 changes: 1 addition & 1 deletion release-version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file specifies the TiDB Dashboard internal version, which will be printed in `--version`
# and UI. In release branch, changing this file will result in publishing a new version and tag.
2021.09.02.1
2021.09.02.2

0 comments on commit 8f3ae7a

Please sign in to comment.