File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/multiclustersync Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func run() error {
105105 clients [targetClusterName ] = targetCluster .GetClient ()
106106 }
107107
108- if err := b .Complete (& secretSyncReconcier {
108+ if err := b .Complete (& secretSyncReconciler {
109109 source : mgr .GetClient (),
110110 targets : clients ,
111111 }); err != nil {
@@ -125,14 +125,14 @@ type request struct {
125125 clusterName string
126126}
127127
128- // secretSyncReconcier is a simple reconciler that keeps all secrets in the source namespace of a given
128+ // secretSyncReconciler is a simple reconciler that keeps all secrets in the source namespace of a given
129129// source cluster in sync with the secrets in the target namespace of all target clusters.
130- type secretSyncReconcier struct {
130+ type secretSyncReconciler struct {
131131 source client.Client
132132 targets map [string ]client.Client
133133}
134134
135- func (s * secretSyncReconcier ) Reconcile (ctx context.Context , req request ) (reconcile.Result , error ) {
135+ func (s * secretSyncReconciler ) Reconcile (ctx context.Context , req request ) (reconcile.Result , error ) {
136136 targetClient , found := s .targets [req .clusterName ]
137137 if ! found {
138138 return reconcile.Result {}, reconcile .TerminalError (fmt .Errorf ("target cluster %s not found" , req .clusterName ))
You can’t perform that action at this time.
0 commit comments