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