Skip to content

Commit

Permalink
Upd to new go lib
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Oct 17, 2024
1 parent 7438c93 commit 9957941
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion checkQstar.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"regexp"
"strconv"
"strings"

"github.com/infrasonar/go-libagent"
)

var reSplit = regexp.MustCompile(`\r?\n`)
Expand Down Expand Up @@ -508,7 +510,7 @@ func readFilesystem(filesystem string) (*params, error) {
}, nil
}

func CheckQstar() (map[string][]map[string]any, error) {
func CheckQstar(_ *libagent.Check) (map[string][]map[string]any, error) {
state := map[string][]map[string]any{}

// out, err := exec.Command("bash", "-c", "cat df.output.example.txt").Output()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/infrasonar/qstar-agent

go 1.22.2

require github.com/infrasonar/go-libagent v0.1.1
require github.com/infrasonar/go-libagent v0.2.0

require golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/infrasonar/go-libagent v0.1.1 h1:qjEo0/MU3xtBYFsbJMOXbNY83uRl1ZMIe83Tb/b5WoI=
github.com/infrasonar/go-libagent v0.1.1/go.mod h1:oUs+fBWez6cUZl4j7tk5CM/8dahBwLRvVg2J4l+Aue0=
github.com/infrasonar/go-libagent v0.2.0 h1:3ylS9r9UXdAS12awMkSlL735K70ZHcffxK1RLWj84qY=
github.com/infrasonar/go-libagent v0.2.0/go.mod h1:oUs+fBWez6cUZl4j7tk5CM/8dahBwLRvVg2J4l+Aue0=
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY=
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8=
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-alpha0"
const version = "0.1.0-alpha1"

0 comments on commit 9957941

Please sign in to comment.