# Mender Deployments - Inventory ENV variable documentation is wrong

**URL:** https://hub.mender.io/t/mender-deployments-inventory-env-variable-documentation-is-wrong/5437
**Category:** General Discussions
**Tags:** bug
**Created:** [November 21, 2022, 11:18am UTC](https://hub.mender.io/t/mender-deployments-inventory-env-variable-documentation-is-wrong/5437 "2022-11-21T11:18:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rhirsh](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rhirsh](https://hub.mender.io/u/rhirsh)
#### Post date: [November 21, 2022, 11:18am UTC](https://hub.mender.io/t/mender-deployments-inventory-env-variable-documentation-is-wrong/5437/1 "2022-11-21T11:18:09Z")

</div>

Hi,

Sorry if this is the wrong place to post, I couldn’t find the issues tab on github.

The configuration file [deployments/config.yaml at master · mendersoftware/deployments · GitHub](https://github.com/mendersoftware/deployments/blob/master/config.yaml) states that inventory service address is controlled by `DEPLOYMENTS_MENDER_GATEWAY` environment variable.  
But in [deployments/config.go at master · mendersoftware/deployments · GitHub](https://github.com/mendersoftware/deployments/blob/master/config/config.go) it is defined by  
`SettingInventoryAddr = "inventory_addr"` so the environment variable should be `DEPLOYMENTS_INVENTORY_ADDR`

---

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [November 21, 2022, 3:45pm UTC](https://hub.mender.io/t/mender-deployments-inventory-env-variable-documentation-is-wrong/5437/2 "2022-11-21T15:45:45Z")

</div>

Hello @rhirsh,

Thanks a lot for reporting! We have instantly handled it at [chore(config): Remove unused config and correct configfile docs by alfrunes · Pull Request #789 · mendersoftware/deployments · GitHub](https://github.com/mendersoftware/deployments/pull/789) 👍

Greetz,  
Josef
