Remove temporary patch for generating UUID in Identity.Save() function
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
This commit is contained in:
1 parent
31df45e771
commit
385c5f3298
1 file changed
-4
@@ -181,10 +181,6 @@ func (id *Identity) Save() error {
|
||||
if GetConfig().IdentityFile == "" {
|
||||
return errors.New("identity filename empty")
|
||||
}
|
||||
//! temp patch
|
||||
if id.Uuid == "" {
|
||||
id.Uuid = uuid.New().String()
|
||||
}
|
||||
b, _ := json.Marshal(id)
|
||||
armor, err := helper.EncryptMessageWithPassword([]byte(GetConfig().memoryPassword), string(b))
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user