Skip to content

Commit 4f45461

Browse files
authored
bug fix: apply cr after crd applied (#282)
Signed-off-by: ycyaoxdu <[email protected]> Signed-off-by: ycyaoxdu <[email protected]>
1 parent 257c6fd commit 4f45461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/join/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (o *Options) run() error {
144144
}
145145
output = append(output, out...)
146146

147-
if o.wait && !o.ClusteradmFlags.DryRun {
147+
if !o.ClusteradmFlags.DryRun {
148148
if err := wait.WaitUntilCRDReady(apiExtensionsClient, "klusterlets.operator.open-cluster-management.io"); err != nil {
149149
return err
150150
}

0 commit comments

Comments
 (0)