Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Oct 3, 2024
1 parent 2f197e2 commit ecfe24f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cmpserver/apiclient/plugin.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion cmpserver/plugin/plugin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ message RepositoryResponse {
bool isSupported = 1;
// IsDiscoveryEnabled is a flag that indicates if the CMP supports discovery.
//
// Deprecated: Use the IsDiscoveryConfigured field from the CheckPluginConfigurationResponse instead.
// Deprecated: Use the IsDiscoveryConfigured field from the CheckPluginConfigurationResponse instead. Argo CD no
// longer uses an expensive MatchRepository service to determine if discovery is enabled. Instead, we
// make a relatively cheap pre-flight request to the CheckPluginConfiguration service. We'll leave this
// field here to avoid errors on mismatched repo-server and cmp-server versions.
bool isDiscoveryEnabled = 2;
}

Expand Down

0 comments on commit ecfe24f

Please sign in to comment.