mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-15 00:50:25 +02:00
cmd/cli: support nocgo version for upgrade command
linux/amd64 have the nocgo binary to support system where standard libc missing. If the current binary is a nocgo version, "ctrld upgrade" command must honor the nocgo setting and download the right binary.
This commit is contained in:
committed by
Cuong Manh Le
parent
8ccaeeab60
commit
dc433f8dc9
@@ -0,0 +1,5 @@
|
||||
//go:build !cgo
|
||||
|
||||
package cli
|
||||
|
||||
const cgoEnabled = false
|
||||
Reference in New Issue
Block a user