Skip to content

Commit f6653eb

Browse files
authored
Merge pull request #17 from OpenCHAMI/update-model
Update model to remove unused fields
2 parents 1345ce3 + 057e710 commit f6653eb

5 files changed

Lines changed: 4 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,7 @@ Hardware data is stored in the `spec` field, representing the observed state.
118118
* **properties (Map):** An arbitrary key-value map for additional data (e.g., `redfish_uri`).
119119

120120
#### Core `status` fields
121-
* **phase (String):** The reconciliation status (e.g., "Processing", "Completed").
122-
* **message (String):** A human-readable message from the reconciler.
123-
* **ready (Boolean):** Indicates if the resource is fully reconciled.
124-
* **childrenDeviceIds (Array of Strings):** A read-only list of UIDs for devices contained within this one.
121+
* none...
125122

126123
### Usage
127124

apis/example.fabrica.dev/v1/device_types.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ type DeviceSpec struct {
4040

4141
// DeviceStatus defines the observed state of Device
4242
type DeviceStatus struct {
43-
Phase string `json:"phase,omitempty"`
44-
Message string `json:"message,omitempty"`
45-
Ready bool `json:"ready"`
46-
47-
// ChildrenDeviceIds is a read-only list of devices contained within this one.
48-
ChildrenDeviceIds []string `json:"childrenDeviceIds,omitempty"`
4943
}
5044

5145
// Validate implements custom validation logic for Device

cmd/server/device_handlers_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/server/discoverysnapshot_handlers_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apiversion/registry_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)