File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
docs/book/src/developer/providers/contracts Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -618,10 +618,10 @@ preserves compatibility with the deprecated v1beta1 contract; compatibility will
618618
619619With regards to initialization completed:
620620
621- Cluster API will continue to temporarily support ControlPlane resource using ` status.initialize ` and the ` status.ready ` field to
621+ Cluster API will continue to temporarily support ControlPlane resource using the ` status.initialized ` field to
622622report initialization completed.
623623
624- After compatibility with the deprecated v1beta1 contract will be removed, ` status.initialize ` and ` status.ready ` fields in
624+ After compatibility with the deprecated v1beta1 contract will be removed, the ` status.initialized ` field in
625625the ControlPlane resource will be ignored.
626626
627627</aside >
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ func (c *ControlPlaneContract) StatusVersion() *String {
102102func (c * ControlPlaneContract ) Initialized (contractVersion string ) * Bool {
103103 if contractVersion == "v1beta1" {
104104 return & Bool {
105- path : []string {"status" , "ready " },
105+ path : []string {"status" , "initialized " },
106106 }
107107 }
108108
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func TestControlPlane(t *testing.T) {
7070 g .Expect (got ).ToNot (BeNil ())
7171 g .Expect (* got ).To (BeTrue ())
7272
73- g .Expect (ControlPlane ().Initialized ("v1beta1" ).Path ()).To (Equal (Path {"status" , "ready " }))
73+ g .Expect (ControlPlane ().Initialized ("v1beta1" ).Path ()).To (Equal (Path {"status" , "initialized " }))
7474
7575 objV1beta1 := & unstructured.Unstructured {Object : map [string ]interface {}{}}
7676 err = ControlPlane ().Initialized ("v1beta1" ).Set (objV1beta1 , true )
You can’t perform that action at this time.
0 commit comments