Skip to content

Commit

Permalink
Remove omitempty from RegistryModule's NoCode
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelhrocha committed Nov 11, 2022
1 parent 706233f commit e0f218d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions registry_module.go
Expand Up @@ -171,7 +171,7 @@ type RegistryModuleCreateOptions struct {
Namespace string `jsonapi:"attr,namespace,omitempty"`
// Optional: If set to true the module is enabled for no-code provisioning.
// **Note: This field is still in BETA and subject to change.**
NoCode bool `jsonapi:"attr,no-code,omitempty"`
NoCode bool `jsonapi:"attr,no-code"`
}

// RegistryModuleCreateVersionOptions is used when creating a registry module version
Expand Down Expand Up @@ -207,7 +207,13 @@ type RegistryModuleUpdateOptions struct {

// Optional: Flag to enable no-code provisioning for the whole module.
// **Note: This field is still in BETA and subject to change.**
NoCode *bool `jsonapi:"attr,no-code,omitempty"`






*bool `jsonapi:"attr,no-code,omitempty"`
}

type RegistryModuleVCSRepoOptions struct {
Expand Down

0 comments on commit e0f218d

Please sign in to comment.