Skip to content

google/knative-gcp: pkg/reconciler/intevents/pullsubscription/reconciler.go; 5 LoC #18430

Open
@githubvet

Description

@githubvet

Found a possible issue in google/knative-gcp at pkg/reconciler/intevents/pullsubscription/reconciler.go

Below is the message reported by the analyzer for this snippet of code. Beware that the analyzer only reports the first issue it finds, so please do not limit your consideration to the contents of the below message.

Click here to see the code in its original context.

Click here to show the 5 line(s) of Go which triggered the analyzer.
	for _, dep := range dl.Items {
		if metav1.IsControlledBy(&dep, ps) {
			return &dep, nil
		}
	}
Click here to show extra information the analyzer produced.
No path was found through the callgraph that could lead to a function which writes a pointer argument.

No path was found through the callgraph that could lead to a function which passes a pointer to third-party code.

root signature {IsControlledBy 2} was not found in the callgraph; reference was passed directly to third-party code

Leave a reaction on this issue to contribute to the project by classifying this instance as a Bug 👎, Mitigated 👍, or Desirable Behavior 🚀
See the descriptions of the classifications here for more information.

commit ID: 026ecb2c337bf87a6f4a53558a40ee0466923707

Metadata

Metadata

Assignees

No one assigned

    Labels

    freshno one has ever voted on this issuetinyless than 10 lines of code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions