1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00

fix: Correct typo in comment (#7387)

Replace ocured with occurred in the comment of the Get function.

Signed-off-by: jaehanbyun <awbrg789@naver.com>
This commit is contained in:
Simon Pasquier 2025-03-10 16:54:27 +01:00 committed by GitHub
commit 1fb7a22e6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,7 +170,7 @@ func (w *ForResource) ListAllByNamespace(namespace string, selector labels.Selec
}
// Get invokes all wrapped informers and returns the first found runtime object.
// It returns the first ocured error.
// It returns the first occurred error.
func (w *ForResource) Get(name string) (runtime.Object, error) {
var err error