update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
7
vendor/github.com/open-policy-agent/opa/ir/ir.go
generated
vendored
7
vendor/github.com/open-policy-agent/opa/ir/ir.go
generated
vendored
@@ -364,6 +364,13 @@ type IsObjectStmt struct {
|
||||
Location
|
||||
}
|
||||
|
||||
// IsSetStmt represents a dynamic type check on a local variable.
|
||||
type IsSetStmt struct {
|
||||
Source Operand `json:"source"`
|
||||
|
||||
Location
|
||||
}
|
||||
|
||||
// IsDefinedStmt represents a check of whether a local variable is defined.
|
||||
type IsDefinedStmt struct {
|
||||
Source Local `json:"source"`
|
||||
|
||||
4
vendor/github.com/open-policy-agent/opa/ir/pretty.go
generated
vendored
4
vendor/github.com/open-policy-agent/opa/ir/pretty.go
generated
vendored
@@ -25,11 +25,11 @@ type prettyPrinter struct {
|
||||
w io.Writer
|
||||
}
|
||||
|
||||
func (pp *prettyPrinter) Before(x interface{}) {
|
||||
func (pp *prettyPrinter) Before(_ interface{}) {
|
||||
pp.depth++
|
||||
}
|
||||
|
||||
func (pp *prettyPrinter) After(x interface{}) {
|
||||
func (pp *prettyPrinter) After(_ interface{}) {
|
||||
pp.depth--
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user