Skip to content

Commit

Permalink
mem check
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Oct 18, 2024
1 parent a3bb84e commit c998523
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions checkMemory.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ func readMemory(state map[string][]map[string]any) error {

func CheckMemory(check *libagent.Check) (map[string][]map[string]any, error) {
state := map[string][]map[string]any{}
var err error

if e := readMemory(state); e != nil {
err = e
err := readMemory(state)
if err != nil {
return nil, err
}

return state, err
return state, nil
}
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const version = "0.1.0-alpha3"
const version = "0.1.0-alpha4"

0 comments on commit c998523

Please sign in to comment.