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

Fix: Add a 'min' function to work with go1.18.1 #54

Merged
merged 1 commit into from
May 22, 2024

Conversation

olawlor
Copy link
Contributor

@olawlor olawlor commented May 4, 2024

On Ubuntu 22.04, the default go version is 1.18.1, which doesn't have "min" in the standard library.

The usual fix is to add a local definition, which I've done here. Everything else compiles, and seems to work fine as far as I can test.

@TechSolomon TechSolomon self-requested a review May 22, 2024 17:51
Copy link
Member

@TechSolomon TechSolomon left a comment

Choose a reason for hiding this comment

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

Thanks! :shipit:

@TechSolomon TechSolomon merged commit c3d29c7 into acep-uaf:main May 22, 2024
1 check passed
TechSolomon added a commit that referenced this pull request Jul 12, 2024
* Released data diode system information  (#53)

* docs: build requirements for `make`

* fix: match MQTT client ID

* Fix: Add a 'min' function to work with go1.18.1, the default on Ubuntu 22.04. (#54)

* refactor: continuous outbound MQTT topic structure

* bump: project requirements

* docs: resolve formatting issues with markdownlint
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