diff options
author | Jakob Borg <jakob@kastelo.net> | 2022-12-25 08:08:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 08:08:41 +0100 |
commit | c4e69cd66c0fc0bdb2f35f08efcfc5970dfe4e6f (patch) | |
tree | 89e953c8113afc3c0c62a1a708ccaef89bd0c961 /go.mod | |
parent | 634a3d0e3be4a706dfb58253da534e396cac714e (diff) | |
download | syncthing-c4e69cd66c0fc0bdb2f35f08efcfc5970dfe4e6f.tar.gz syncthing-c4e69cd66c0fc0bdb2f35f08efcfc5970dfe4e6f.zip |
gui, api: Indicate running under container (#8728)
This adds a word to the version string when running containerized. The
purpose is mostly to facilitate troubleshooting via screenshot by
"leaking" this rather important aspect of the setup. Additionally, the
version row gets "no-overflow-ellipsis" treatment so that the whole
thing is actually visible in the GUI and the (now useless) tooltip is
removed. In production releases this won't make a difference as the
whole thing will typically fit, but in odd setups it provides more info
up front.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ require ( require ( github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect github.com/beorn7/perks v1.0.1 // indirect + github.com/calmh/incontainer v0.0.0-20221224152218-b3e71b103d7a // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect github.com/golang/mock v1.6.0 // indirect |