Discovery Nats automate
This commit is contained in:
parent
a42b6198cb
commit
8c9a983216
@ -20,7 +20,9 @@ func (ao *Discovery) GetID() string {
|
||||
}
|
||||
|
||||
func (r *Discovery) GenerateID() {
|
||||
r.UUID = uuid.New().String()
|
||||
if r.UUID == "" {
|
||||
r.UUID = uuid.New().String()
|
||||
}
|
||||
}
|
||||
|
||||
func (d *Discovery) GetName() string {
|
||||
|
Loading…
Reference in New Issue
Block a user