Skip to content

Commit

Permalink
includeKinds for APIVersions in cluster info cache (argoproj#11241)
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Rumao <rogerrum@gmail.com>

Signed-off-by: Roger Rumao <rogerrum@gmail.com>
Signed-off-by: emirot <emirot.nolan@gmail.com>
  • Loading branch information
rogerrum authored and emirot committed Jan 27, 2023
1 parent bdb5b73 commit af90bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/clusterinfoupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (c *clusterInfoUpdater) updateClusterInfo(cluster appv1.Cluster, info *cach
}
if info != nil {
clusterInfo.ServerVersion = info.K8SVersion
clusterInfo.APIVersions = argo.APIResourcesToStrings(info.APIResources, false)
clusterInfo.APIVersions = argo.APIResourcesToStrings(info.APIResources, true)
if info.LastCacheSyncTime == nil {
clusterInfo.ConnectionState.Status = appv1.ConnectionStatusUnknown
} else if info.SyncError == nil {
Expand Down

0 comments on commit af90bed

Please sign in to comment.