Skip to content

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jun 16, 2025

What I did

TIL: in Go, interface has a type and value, and as such watch == nil is always false, while value is nil 🤪
the only way to know is by reflection (so this is bascally considered an anti-pattern)
.. but as long as we want w to open a link if watch is not configured 🤨, there's no better way

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested a review from a team as a code owner June 16, 2025 09:06
@ndeloof ndeloof requested a review from glours June 16, 2025 09:06
@glours glours enabled auto-merge (rebase) June 16, 2025 09:08
@glours glours merged commit 4f491ff into docker:main Jun 16, 2025
25 checks passed
@ndeloof ndeloof deleted the watch_panic branch June 16, 2025 12:17
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jun 23, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker/compose](https://github.com/docker/compose) | patch | `v2.37.1` -> `v2.37.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>docker/compose (docker/compose)</summary>

### [`v2.37.2`](https://github.com/docker/compose/releases/tag/v2.37.2)

[Compare Source](docker/compose@v2.37.1...v2.37.2)

#### What's Changed

##### ✨ Improvements

- introduce `use_api_socket` by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12908

##### 🐛 Fixes

- restore ContainerName in images --json by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12943
- fix panic using w shortcut on project without watch support by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12944

##### 🔧  Internal

- move `run` logic inside backend by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12908

##### ⚙️ Dependencies

- bump compose-go to v2.6.5 by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12958
- build(deps): bump github.com/containerd/containerd/v2 from 2.1.1 to 2.1.2 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12939

**Full Changelog**: docker/compose@v2.37.1...v2.37.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
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