@@ -16,35 +16,35 @@ var configurationExample = `
1616---
1717hosts:
1818- host: storage-0
19- location : {body: 0, data_center: 'dcExample', rack: '0'}
19+ walle_location : {body: 0, data_center: 'dcExample', rack: '0'}
2020 node_id: 1
2121 host_config_id: 1
2222- host: storage-1
23- location : {body: 1, data_center: 'dcExample', rack: '1'}
23+ walle_location : {body: 1, data_center: 'dcExample', rack: '1'}
2424 node_id: 2
2525 host_config_id: 1
2626- host: storage-2
27- location : {body: 2, data_center: 'dcExample', rack: '2'}
27+ walle_location : {body: 2, data_center: 'dcExample', rack: '2'}
2828 node_id: 3
2929 host_config_id: 1
3030- host: storage-3
31- location : {body: 3, data_center: 'dcExample', rack: '3'}
31+ walle_location : {body: 3, data_center: 'dcExample', rack: '3'}
3232 node_id: 4
3333 host_config_id: 1
3434- host: storage-4
35- location : {body: 4, data_center: 'dcExample', rack: '4'}
35+ walle_location : {body: 4, data_center: 'dcExample', rack: '4'}
3636 node_id: 5
3737 host_config_id: 1
3838- host: storage-5
39- location : {body: 5, data_center: 'dcExample', rack: '5'}
39+ walle_location : {body: 5, data_center: 'dcExample', rack: '5'}
4040 node_id: 6
4141 host_config_id: 1
4242- host: storage-6
43- location : {body: 6, data_center: 'dcExample', rack: '6'}
43+ walle_location : {body: 6, data_center: 'dcExample', rack: '6'}
4444 node_id: 7
4545 host_config_id: 1
4646- host: storage-7
47- location : {body: 7, data_center: 'dcExample', rack: '7'}
47+ walle_location : {body: 7, data_center: 'dcExample', rack: '7'}
4848 node_id: 8
4949 host_config_id: 1
5050key_config:
@@ -95,7 +95,7 @@ var _ = Describe("Testing schema", func() {
9595 Host : fmt .Sprintf ("storage-%d" , i ),
9696 NodeID : i + 1 ,
9797 HostConfigID : 1 ,
98- Location : schema.Location {
98+ Location : schema.WalleLocation {
9999 Body : i ,
100100 DataCenter : "dcExample" ,
101101 Rack : fmt .Sprint (i ),
0 commit comments