Skip to content

Commit

Permalink
Manually adjusted comment
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
  • Loading branch information
ANeumann82 committed Mar 12, 2020
1 parent 45f2b93 commit 8ab533f
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 8ab533f

Please sign in to comment.