Skip to content

Commit

Permalink
fix: dataset is not configured field fields
Browse files Browse the repository at this point in the history
  • Loading branch information
0xff-dev committed Dec 29, 2023
1 parent e68d24e commit d3d5782
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apiserver/pkg/dataset/dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func CreateDataset(ctx context.Context, c dynamic.Interface, input *generated.Cr
ContentType: input.ContentType,
},
}
if input.Filed != nil {
dataset.Spec.Field = *input.Filed
}
if input.DisplayName != nil {
dataset.Spec.DisplayName = *input.DisplayName
}
Expand Down

0 comments on commit d3d5782

Please sign in to comment.