Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Ding <jackding@gmail.com>
  • Loading branch information
jzding committed Jul 30, 2024
1 parent e7a8771 commit 0940842
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions v2/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,6 @@ func (s *Server) getCurrentState(w http.ResponseWriter, r *http.Request) {
return
}

if !strings.HasPrefix(resourceAddress, "/") {
resourceAddress = fmt.Sprintf("/%s", resourceAddress)
}

// this is placeholder not sending back to report
out := channel.DataChan{
Address: resourceAddress,
Expand Down

0 comments on commit 0940842

Please sign in to comment.