1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 05:33:34 +00:00

Add TPM and MachineRegister support

This commit is contained in:
Darren Shepherd
2021-10-29 12:20:35 -07:00
parent db84312450
commit 901973e5f6
40 changed files with 3390 additions and 291 deletions

View File

@@ -16,7 +16,7 @@ type FuzzyNames struct {
func (f *FuzzyNames) ToInternal(data data.Object) error {
for k, v := range data {
if newK, ok := f.names[k]; ok && newK != k {
if newK, ok := f.names[strings.ToLower(k)]; ok && newK != k {
data[newK] = v
}
}