Skip to content

Commit

Permalink
Removes getLog method from restrouter
Browse files Browse the repository at this point in the history
  • Loading branch information
azak-azkaran committed Mar 12, 2021
1 parent 191c333 commit c6f1e7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions restrouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ func getIsSealed(c *gin.Context) {
})
}

func getLog(c *gin.Context) {
Sugar.Info("Log: ", "not implemented")
c.JSON(http.StatusOK, gin.H{
REST_JSON_MESSAGE: "not implemented",
})
}

func getStatus(c *gin.Context) {
if jobmap == nil {
returnErr(errors.New("ConcurrentMap not initialized"), ERROR_STATUS, c)
Expand Down
2 changes: 1 addition & 1 deletion restrouter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func TestRestPostGit(t *testing.T) {
}

func TestRestForbidden(t *testing.T) {
fmt.Println("running: TestRestPostBackup")
fmt.Println("running: TestRestForbidden")
t.Cleanup(clear)
forbidden = true
setupRestrouterTest(t)
Expand Down

0 comments on commit c6f1e7e

Please sign in to comment.