Skip to content

Commit

Permalink
set TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Jan 24, 2025
1 parent 522f2ec commit bcf07ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/cmd/alpha/templates/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func setExtraValues(u *unstructured.Unstructured, extraValues []parameters.Value

fields := splitPath(extraValue.GetPath())

// TODO: support custom slices
err := unstructured.SetNestedField(u.Object, value, fields...)
if err != nil {
return clierror.Wrap(err, clierror.New(
Expand Down
1 change: 1 addition & 0 deletions internal/cmd/alpha/templates/types/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var (
StringCustomFlagType CreateCustomFlagType = "string"
PathCustomFlagType CreateCustomFlagType = "path"
IntCustomFlagType CreateCustomFlagType = "int64"
// TODO: support other types e.g. bool, float and stringArray
)

type CustomFlag struct {
Expand Down

0 comments on commit bcf07ca

Please sign in to comment.