Skip to content

Commit

Permalink
Merge pull request #11340 from sbueringer/pr-deprecate-cc-err
Browse files Browse the repository at this point in the history
🌱 Deprecate CCT ErrClusterLocked
  • Loading branch information
k8s-ci-robot authored Oct 25, 2024
2 parents 80e26b4 + 0a41a76 commit ec6916b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/remote/cluster_cache_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const (

// ErrClusterLocked is returned in methods that require cluster-level locking
// if the cluster is already locked by another concurrent call.
//
// Deprecated: This will be removed in Cluster API v1.10, use clustercache.ErrClusterNotConnected instead.
var ErrClusterLocked = errors.New("cluster is locked already")

// ClusterCacheTracker manages client caches for workload clusters.
Expand Down

0 comments on commit ec6916b

Please sign in to comment.