We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ec51a commit b75c75bCopy full SHA for b75c75b
1 file changed
pkg/ddc/vineyard/validate.go
@@ -17,7 +17,7 @@ limitations under the License.
17
package vineyard
18
19
import (
20
- "github.com/fluid-cloudnative/fluid/pkg/ddc/base"
+ fluiderrs "github.com/fluid-cloudnative/fluid/pkg/errors"
21
cruntime "github.com/fluid-cloudnative/fluid/pkg/runtime"
22
)
23
@@ -29,9 +29,8 @@ func (e *VineyardEngine) Validate(ctx cruntime.ReconcileRequestContext) (err err
29
return err
30
}
31
32
- err = base.ValidateRuntimeInfo(runtimeInfo)
33
- if err != nil {
34
- return err
+ if len(runtimeInfo.GetOwnerDatasetUID()) == 0 {
+ return fluiderrs.NewTemporaryValidationFailed("OwnerDatasetUID is not set in runtime info, this is usually a temporary state, retrying")
35
36
37
// TODO: impl validation logic for VineyardEngine
0 commit comments