7c7d626420
* fixes issue removing raft peer via cli not reflected in UI until refresh * adds changelog entry
11 lines
288 B
JavaScript
11 lines
288 B
JavaScript
import { Factory } from 'ember-cli-mirage';
|
|
import faker from 'faker';
|
|
|
|
export default Factory.extend({
|
|
address: () => faker.internet.ip(),
|
|
node_id: i => `raft_node_${i}`,
|
|
protocol_version: '3',
|
|
voter: () => faker.datatype.boolean(),
|
|
leader: () => faker.datatype.boolean(),
|
|
});
|