Skip to content

Commit

Permalink
Remove the new status field from required, makes the upcast fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Feb 21, 2024
1 parent 4e3155b commit f0f8bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/trento/clusters/value_objects/ascs_ers_cluster_node.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ defmodule Trento.Clusters.ValueObjects.AscsErsClusterNode do
"""

@required_fields [
:name,
:status
:name
]

require Trento.Clusters.Enums.AscsErsClusterRole, as: AscsErsClusterRole
Expand Down
3 changes: 1 addition & 2 deletions lib/trento/clusters/value_objects/hana_cluster_node.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ defmodule Trento.Clusters.ValueObjects.HanaClusterNode do
@required_fields [
:name,
:hana_status,
:attributes,
:status
:attributes
]

use Trento.Support.Type
Expand Down

0 comments on commit f0f8bda

Please sign in to comment.