mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Fix linting error:
This commit is contained in:
		
							parent
							
								
									96b4d2f391
								
							
						
					
					
						commit
						57c115e60a
					
				@ -116,7 +116,10 @@ var DeleteCmd = &cobra.Command{
 | 
				
			|||||||
		prompt := &survey.Confirm{
 | 
							prompt := &survey.Confirm{
 | 
				
			||||||
			Message: fmt.Sprintf("Do you want to remove the node %s?", m.Name),
 | 
								Message: fmt.Sprintf("Do you want to remove the node %s?", m.Name),
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		survey.AskOne(prompt, &confirm)
 | 
							err = survey.AskOne(prompt, &confirm)
 | 
				
			||||||
 | 
							if err != nil {
 | 
				
			||||||
 | 
								return
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if confirm {
 | 
							if confirm {
 | 
				
			||||||
			err = h.DeleteMachine(m)
 | 
								err = h.DeleteMachine(m)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user