Skip to content

Commit

Permalink
Rename to resource
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker committed Oct 24, 2022
1 parent 1243442 commit 5675d11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require (
github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c
github.com/spf13/viper v1.13.0
github.com/stretchr/testify v1.8.0
go.mondoo.com/cnquery v0.0.0-20221018182341-0e7dc2e6ed0c
go.mondoo.com/cnquery v0.0.0-20221024120747-ba3309b37523
go.mondoo.com/ranger-rpc v0.5.1-0.20220923135836-9e7732899d34
go.opentelemetry.io/otel v1.11.0
golang.org/x/sync v0.0.0-20220923202941-7f9b1623fab7
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,10 @@ go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3
go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
go.mondoo.com/cnquery v0.0.0-20221018182341-0e7dc2e6ed0c h1:MJLz9JARx36PGG/ins2NRY009jveqOqP4yAL4RCc5h8=
go.mondoo.com/cnquery v0.0.0-20221018182341-0e7dc2e6ed0c/go.mod h1:MuM8Xs1NGrthK/FFdcO6auvSqs0cZ8Wx8dpouQQJSiE=
go.mondoo.com/cnquery v0.0.0-20221023032627-fb3272efa0d3 h1:LyhOwvPvNrXVAGNtxV98jrKaomwgA3lp2nlTsX4rp1U=
go.mondoo.com/cnquery v0.0.0-20221023032627-fb3272efa0d3/go.mod h1:MuM8Xs1NGrthK/FFdcO6auvSqs0cZ8Wx8dpouQQJSiE=
go.mondoo.com/cnquery v0.0.0-20221024120747-ba3309b37523 h1:KxNmNdcrnqzFnbMFAuvyV3jon4Hw1VHVkUBVB2XcQdE=
go.mondoo.com/cnquery v0.0.0-20221024120747-ba3309b37523/go.mod h1:MuM8Xs1NGrthK/FFdcO6auvSqs0cZ8Wx8dpouQQJSiE=
go.mondoo.com/ranger-rpc v0.5.1-0.20220923135836-9e7732899d34 h1:mtPZ1J+nRI/ivV+n41bjIwY6Rfxb2Jf49svZSQMGHIA=
go.mondoo.com/ranger-rpc v0.5.1-0.20220923135836-9e7732899d34/go.mod h1:3YKcqFrlPgaB4FZ4EoLgdmRtwMQdO7RoAkZYFn+F1eY=
go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403/go.mod h1:jHoPAGnDrCy6kaI2tAze5Prf0Nr0w/oNkROt2lw3n3o=
Expand Down
2 changes: 1 addition & 1 deletion policy/executor/internal/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (nodeData *ReportingQueryNodeData) score() *policy.Score {
}

if cur.Data.Error != nil {
var k8sNotFoundErr *k8s_common.K8sObjectNotFound
var k8sNotFoundErr *k8s_common.K8sResourceNotFound
if errors.As(cur.Data.Error, &k8sNotFoundErr) {
assetVanishedDuringScan = true
} else {
Expand Down

0 comments on commit 5675d11

Please sign in to comment.