Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utility MustBytes methods #14

Merged
merged 1 commit into from
Nov 13, 2023
Merged

utility MustBytes methods #14

merged 1 commit into from
Nov 13, 2023

Conversation

DoctorVin
Copy link
Contributor

No description provided.

@@ -41,14 +45,22 @@ type FirmwareInstallTaskParameters struct {
FirmwareSetID uuid.UUID `json:"firmware_set_id,omitempty"`
}

func (p *FirmwareInstallTaskParameters) MustJSON() []byte {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious where the MustJSON function being used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to use it in ConditionAPI (and likely orchestrator). But it really belongs here where it's defined.

@DoctorVin DoctorVin merged commit ff5a074 into main Nov 13, 2023
6 checks passed
@DoctorVin DoctorVin deleted the vc/utility-funcs branch November 13, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants