Skip to content

Commit

Permalink
Update pkg/engine/resource/object_key.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Aleksey Dukhovniy <adukhovniy@mesosphere.io>
  • Loading branch information
ANeumann82 and Aleksey Dukhovniy committed Mar 12, 2020
1 parent 45f2b93 commit fa52f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/resource/object_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func isNamespaced(gvk schema.GroupVersionKind, di discovery.CachedDiscoveryInter
}

// getAPIResource returns a specific APIResource from the DiscoveryInterface or nil if no resource was found.
// As the CachedDI may contain stale data, it can return nil even if the resource actually exists, in that
// As the CachedDiscoverInterface may contain stale data, it can return nil even if the resource actually exists, in that
// case it is advised to invalidate the DI cache and retry the query
// Additionally, this method may return false positives, i.e. an API resource that was already deleted from the api
// server. If no false positive results is required, call di.Invalidate before calling this method
Expand Down

0 comments on commit fa52f2b

Please sign in to comment.