Commit f3314d2
base: derive _CUSTOMER from the builtin host label
The `cmk/customer` builtin host label is contributed by the managed-services
edition alone, from the same `conf.d/customer.mk` that base reads into
`current_customer`. Its presence is therefore an exact stand-in for the edition
check, and since builtin labels are merged last in `labels_of_host()` a user
label cannot shadow it.
This removes one of two reads of `ConfigCache.edition`.
Change-Id: I4c67a719dc6e0fa45e24f4da2ec516126cbff1231 parent b1d21f2 commit f3314d2
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
2715 | 2715 | | |
2716 | 2716 | | |
2717 | 2717 | | |
2718 | | - | |
2719 | | - | |
| 2718 | + | |
| 2719 | + | |
2720 | 2720 | | |
2721 | 2721 | | |
2722 | 2722 | | |
| |||
0 commit comments