Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/web/ui/semver-5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rkspx authored Feb 6, 2024
2 parents 85406b9 + 4bcda09 commit dbf96f5
Show file tree
Hide file tree
Showing 48 changed files with 45 additions and 11,809 deletions.
3 changes: 1 addition & 2 deletions cmd/dsiem/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"bufio"
"errors"
"fmt"
"io/ioutil"
"os"
"os/signal"
"path"
Expand Down Expand Up @@ -229,7 +228,7 @@ external message queue.`,
}

if traceFlag {
fo, err := ioutil.TempFile(os.TempDir(), progName+"*.trace")
fo, err := os.CreateTemp(os.TempDir(), progName+"*.trace")
if err != nil {
exit("Cannot create temp file for tracer", err)
}
Expand Down
3 changes: 1 addition & 2 deletions cmd/dtester/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"errors"
"fmt"
"io"
"io/ioutil"
"math/rand"
"net"
"net/http"
Expand Down Expand Up @@ -311,7 +310,7 @@ func sendHTTPSingleConn(e *event.NormalizedEvent, c *http.Client, stage int, ite
if err != nil {
return err
}
_, _ = io.Copy(ioutil.Discard, resp.Body) // read the body to avoid mem leak? internet says we has to do this
_, _ = io.Copy(io.Discard, resp.Body) // read the body to avoid mem leak? internet says we has to do this

if resp.StatusCode != http.StatusOK {
return errors.New("Received HTTP " + strconv.Itoa(resp.StatusCode) + " status")
Expand Down
2 changes: 0 additions & 2 deletions demo/frontend/.dockerignore

This file was deleted.

2 changes: 0 additions & 2 deletions demo/frontend/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions demo/frontend/Dockerfile

This file was deleted.

34 changes: 0 additions & 34 deletions demo/frontend/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions demo/frontend/build.sh

This file was deleted.

3 changes: 3 additions & 0 deletions demo/frontend/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Dsiem Demo Frontend

This project has been moved to its [own repo](https://github.com/defenxor/dsiem-demo-frontend).
26 changes: 0 additions & 26 deletions demo/frontend/web/.eslintrc

This file was deleted.

23 changes: 0 additions & 23 deletions demo/frontend/web/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions demo/frontend/web/README.md

This file was deleted.

54 changes: 0 additions & 54 deletions demo/frontend/web/package.json

This file was deleted.

Binary file removed demo/frontend/web/public/favicon.ico
Binary file not shown.
42 changes: 0 additions & 42 deletions demo/frontend/web/public/index.html

This file was deleted.

15 changes: 0 additions & 15 deletions demo/frontend/web/public/manifest.json

This file was deleted.

2 changes: 0 additions & 2 deletions demo/frontend/web/public/robots.txt

This file was deleted.

1 change: 0 additions & 1 deletion demo/frontend/web/src/App.css

This file was deleted.

24 changes: 0 additions & 24 deletions demo/frontend/web/src/App.js

This file was deleted.

8 changes: 0 additions & 8 deletions demo/frontend/web/src/App.test.js

This file was deleted.

44 changes: 0 additions & 44 deletions demo/frontend/web/src/components/Card.jsx

This file was deleted.

Loading

0 comments on commit dbf96f5

Please sign in to comment.