Skip to content

Control the policy controller monitoring resources from chart, enhanc… #4060

Control the policy controller monitoring resources from chart, enhanc…

Control the policy controller monitoring resources from chart, enhanc… #4060

Re-run triggered January 3, 2025 14:18
Status Failure
Total duration 3m 16s
Artifacts

verify-codegen.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go index 905859c7..05841092 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go @@ -16,4 +16,5 @@ // connecting to the same hosts repeatedly from the same client, you can use // DefaultPooledClient to receive a client that has connection pooling // semantics similar to http.DefaultClient. +// package cleanhttp
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go index ba58717f..66b1472c 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go @@ -1,4 +1,3 @@ -//go:build !darwin // +build !darwin package rootcerts
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/strutil/strutil.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/strutil/strutil.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/strutil/strutil.go index b342b506..102462dc 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/strutil/strutil.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/strutil/strutil.go @@ -110,11 +110,11 @@ func ParseKeyValues(input string, out map[string]string, sep string) error { // ParseArbitraryKeyValues parses arbitrary <key,value> tuples. The input // can be one of the following: -// - JSON string -// - Base64 encoded JSON string -// - Comma separated list of `<key>=<value>` pairs -// - Base64 encoded string containing comma separated list of -// `<key>=<value>` pairs +// * JSON string +// * Base64 encoded JSON string +// * Comma separated list of `<key>=<value>` pairs +// * Base64 encoded string containing comma separated list of +// `<key>=<value>` pairs // // Input will be parsed into the output parameter, which should // be a non-nil map[string]string.
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddr.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddr.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddr.go index 27767887..0811b275 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddr.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddr.go @@ -17,7 +17,7 @@ func init() { // // ``` // $ sockaddr eval -r '{{GetPrivateInterfaces | attr "address"}}' -// / ``` +/// ``` func GetPrivateIP() (string, error) { privateIfs, err := GetPrivateInterfaces() if err != nil { @@ -39,7 +39,7 @@ func GetPrivateIP() (string, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | include "RFC" "6890" | join "address" " "}}' -// / ``` +/// ``` func GetPrivateIPs() (string, error) { ifAddrs, err := GetAllInterfaces() if err != nil { @@ -86,7 +86,7 @@ func GetPrivateIPs() (string, error) { // // ``` // $ sockaddr eval -r '{{GetPublicInterfaces | attr "address"}}' -// / ``` +/// ``` func GetPublicIP() (string, error) { publicIfs, err := GetPublicInterfaces() if err != nil { @@ -108,7 +108,7 @@ func GetPublicIP() (string, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | exclude "RFC" "6890" | join "address" " "}}' -// / ``` +/// ``` func GetPublicIPs() (string, error) { ifAddrs, err := GetAllInterfaces() if err != nil { @@ -147,7 +147,7 @@ func GetPublicIPs() (string, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | include "name" <<ARG>> | sort "type,size" | include "flag" "forwardable" | attr "address" }}' -// / ``` +/// ``` func GetInterfaceIP(namedIfRE string) (string, error) { ifAddrs, err := GetAllInterfaces() if err != nil { @@ -188,7 +188,7 @@ func GetInterfaceIP(namedIfRE string) (string, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | include "name" <<ARG>> | sort "type,size" | join "address" " "}}' -// / ``` +/// ``` func GetInterfaceIPs(namedIfRE string) (string, error) { ifAddrs, err := GetAllInterfaces() if err != nil {
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go index 8f51fc1b..d2713afb 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go @@ -303,7 +303,7 @@ func GetDefaultInterfaces() (IfAddrs, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | include "type" "ip" | include "flags" "forwardable" | include "flags" "up" | sort "default,type,size" | include "RFC" "6890" }}' -// / ``` +/// ``` func GetPrivateInterfaces() (IfAddrs, error) { privateIfs, err := GetAllInterfaces() if err != nil { @@ -351,7 +351,7 @@ func GetPrivateInterfaces() (IfAddrs, error) { // // ``` // $ sockaddr eval -r '{{GetAllInterfaces | include "type" "ip" | include "flags" "forwardable" | include "flags" "up" | sort "default,type,size" | exclude "RFC" "6890" }}' -// / ``` +/// ``` func GetPublicInterfaces() (IfAddrs, error) { publicIfs, err := GetAllInterfaces() if err != nil {
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv4addr.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv4addr.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv4addr.go index 356eb856..4d395dc9 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv4addr.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv4addr.go @@ -165,10 +165,10 @@ func (ipv4 IPv4Addr) BroadcastAddress() IPv4Network { // CmpAddress follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because its address is lower than arg -// - 0 if the SockAddr arg is equal to the receiving IPv4Addr or the argument is -// of a different type. -// - 1 If the argument should sort first. +// - -1 If the receiver should sort first because its address is lower than arg +// - 0 if the SockAddr arg is equal to the receiving IPv4Addr or the argument is +// of a different type. +// - 1 If the argument should sort first. func (ipv4 IPv4Addr) CmpAddress(sa SockAddr) int { ipv4b, ok := sa.(IPv4Addr) if !ok { @@ -187,10 +187,10 @@ func (ipv4 IPv4Addr) CmpAddress(sa SockAddr) int { // CmpPort follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because its port is lower than arg -// - 0 if the SockAddr arg's port number is equal to the receiving IPv4Addr, -// regardless of type. -// - 1 If the argument should sort first. +// - -1 If the receiver should sort first because its port is lower than arg +// - 0 if the SockAddr arg's port number is equal to the receiving IPv4Addr, +// regardless of type. +// - 1 If the argument should sort first. func (ipv4 IPv4Addr) CmpPort(sa SockAddr) int { var saPort IPPort switch v := sa.(type) { @@ -214,10 +214,10 @@ func (ipv4 IPv4Addr) CmpPort(sa SockAddr) int { // CmpRFC follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because it belongs to the RFC and its -// arg does not -// - 0 if the receiver and arg both belong to the same RFC or neither do. -// - 1 If the arg belongs to the RFC but receiver does not. +// - -1 If the receiver should sort first because it belongs to the RFC and its +// arg does not +// - 0 if the receiver and arg both belong to the same RFC or neither do. +// - 1 If the arg belongs to the RFC but receiver does not. func (ipv4 IPv4Addr) CmpRFC(rfcNum uint, sa SockAddr) int { recvInRFC := IsRFC(rfcNum, ipv4) ipv4b, ok := sa.(IPv4Addr)
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv6addr.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv6addr.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv6addr.go index bd49fb7a..d7f41211 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv6addr.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ipv6addr.go @@ -173,10 +173,10 @@ func (ipv6 IPv6Addr) AddressHexString() string { // CmpAddress follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because its address is lower than arg -// - 0 if the SockAddr arg equal to the receiving IPv6Addr or the argument is of a -// different type. -// - 1 If the argument should sort first. +// - -1 If the receiver should sort first because its address is lower than arg +// - 0 if the SockAddr arg equal to the receiving IPv6Addr or the argument is of a +// different type. +// - 1 If the argument should sort first. func (ipv6 IPv6Addr) CmpAddress(sa SockAddr) int { ipv6b, ok := sa.(IPv6Addr) if !ok { @@ -193,10 +193,10 @@ func (ipv6 IPv6Addr) CmpAddress(sa SockAddr) int { // CmpPort follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because its port is lower than arg -// - 0 if the SockAddr arg's port number is equal to the receiving IPv6Addr, -// regardless of type. -// - 1 If the argument should sort first. +// - -1 If the receiver should sort first because its port is lower than arg +// - 0 if the SockAddr arg's port number is equal to the receiving IPv6Addr, +// regardless of type. +// - 1 If the argument should sort first. func (ipv6 IPv6Addr) CmpPort(sa SockAddr) int { var saPort IPPort switch v := sa.(type) { @@ -220,10 +220,10 @@ func (ipv6 IPv6Addr) CmpPort(sa SockAddr) int { // CmpRFC follows the Cmp() standard protocol and returns: // -// - -1 If the receiver should sort first because it belongs to the RFC and its -// arg does not -// - 0 if the receiver and arg both belong to the same RFC or neither do. -// - 1 If the arg belongs to the RFC but receiver does not. +// - -1 If the receiver should sort first because it belongs to the RFC and its +// arg does not +// - 0 if the receiver and arg both belong to the same RFC or neither do. +// - 1 If the arg belongs to the RFC but receiver does not. func (ipv6 IPv6Addr) CmpRFC(rfcNum uint, sa SockAddr) int { recvInRFC := IsRFC(rfcNum, ipv6) ipv6b, ok := sa.(IPv6Addr)
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go index d128dce4..059ddaeb 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go @@ -23,6 +23,7 @@ func (ri routeInfo) GetDefaultInterfaceName() (string, error) { return "", err } + var ifName string if ifName, err = parseDefaultIfNameFromIPCmdAndroid(string(out)); err != nil { return "", errors.New("No default interface found")
Verify codegen: third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go#L1
Please run ./hack/update-codegen.sh. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go index f207bf92..7c038d12 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go @@ -721,9 +721,10 @@ func (p *printer) heredocIndent(buf []byte) []byte { // // A single line object: // -// - has no lead comments (hence multi-line) -// - has no assignment -// - has no values in the stanza (within {}) +// * has no lead comments (hence multi-line) +// * has no assignment +// * has no values in the stanza (within {}) +// func (p *printer) isSingleLineObject(val *ast.ObjectItem) bool { // If there is a lead comment, can't be one line if val.LeadComment != nil {
Verify codegen
Process completed with exit code 1.
Verify codegen
Restore cache failed: Dependencies file is not found in /home/runner/work/policy-controller/policy-controller. Supported file pattern: go.sum