mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
Merge pull request #783 from balena-io/fix-service-balena-apikey
fix: Properly check for the balena-api label to inject the API key env var
This commit is contained in:
commit
f29cbe23fe
@ -333,7 +333,7 @@ export function addFeaturesFromLabels(
|
||||
}
|
||||
}
|
||||
|
||||
if (checkTruthy('io.balena.features.balena-api')) {
|
||||
if (checkTruthy(service.config.labels['io.balena.features.balena-api'])) {
|
||||
setEnvVariables('API_KEY', options.deviceApiKey);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user