Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuGilet committed Oct 16, 2024
1 parent 3122439 commit 0590a34
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
install:
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/1024pix/metabase@latest/steampipe-plugin-metabase.plugin *.go
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/1024pix/metabase@887ee97016993793de48264307fc4447fa29ec6c/steampipe-plugin-metabase.plugin *.go
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.4
toolchain go1.23.1

require (
github.com/1024pix/go-metabase v1.2.1
github.com/1024pix/go-metabase v1.2.2-0.20241016140730-0ae2fe27b22c
github.com/grokify/goauth v0.20.12
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4
)
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ github.com/1024pix/go-metabase v1.2.0 h1:kLtX1RVss66o4NeYXI6gVEXBnNtl3QbQ+vbrKQR
github.com/1024pix/go-metabase v1.2.0/go.mod h1:wBjwHqp2yUhtJgUSWoiNb+oq8n3XIlQIIRpzEvo/yE0=
github.com/1024pix/go-metabase v1.2.1 h1:0qmZdkEwpcElKZ7wmwrENtp2ZV3hlzCabc7yRgzNp1s=
github.com/1024pix/go-metabase v1.2.1/go.mod h1:wBjwHqp2yUhtJgUSWoiNb+oq8n3XIlQIIRpzEvo/yE0=
github.com/1024pix/go-metabase v1.2.2-0.20241016132446-a8541f68dd3c h1:8xvPOBWmWzBW90uUmzTUxI9TkagUYXRO66qw0wt3Q7Q=
github.com/1024pix/go-metabase v1.2.2-0.20241016132446-a8541f68dd3c/go.mod h1:wBjwHqp2yUhtJgUSWoiNb+oq8n3XIlQIIRpzEvo/yE0=
github.com/1024pix/go-metabase v1.2.2-0.20241016140730-0ae2fe27b22c h1:aE5IMX/5pVtVRRFXq7W3RtQAlZRq5pzE7qEIl/KQI4A=
github.com/1024pix/go-metabase v1.2.2-0.20241016140730-0ae2fe27b22c/go.mod h1:wBjwHqp2yUhtJgUSWoiNb+oq8n3XIlQIIRpzEvo/yE0=
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
Expand Down
2 changes: 2 additions & 0 deletions metabase/table_metabase_permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ func createPermission(methodCallStack string, ctx context.Context, groups *map[s
return nil, err
}

plugin.Logger(ctx).Debug(data.CreateQueries);

Check failure on line 97 in metabase/table_metabase_permission.go

View workflow job for this annotation

GitHub Actions / build

cannot use data.CreateQueries (variable of type *"github.com/1024pix/go-metabase/metabase".PermissionGraphDataCreateQueries) as string value in argument to plugin.Logger(ctx).Debug

permissions = append(permissions, Permission{
GroupID: gId,
DbId: dId,
Expand Down

0 comments on commit 0590a34

Please sign in to comment.