1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 19:49:46 +00:00

fix: Correct typo in comment

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

Signed-off-by: jaehanbyun <awbrg789@naver.com>
This commit is contained in:
jaehanbyun 2025-03-08 19:59:31 +09:00
parent 3afdfd506b
commit d57143311b

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