chore(trait): Migrate the Platform trait to structured serialization
@@ -34,9 +34,9 @@ import (
type platformTrait struct {
BaseTrait `property:",squash"`
// To create a default (empty) platform when the platform is missing.
- CreateDefault *bool `property:"create-default"`
+ CreateDefault *bool `property:"create-default" json:"createDefault,omitempty"`
// To automatically detect from the environment if a default platform can be created (it will be created on OpenShift only).
- Auto *bool `property:"auto"`
+ Auto *bool `property:"auto" json:"auto,omitempty"`
}
func newPlatformTrait() Trait {
