mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 10:01:05 +01:00 
			
		
		
		
	Update cmd/headscale/cli/utils.go
This commit is contained in:
		
							parent
							
								
									72d1d2630e
								
							
						
					
					
						commit
						34f489b1f4
					
				@ -117,7 +117,7 @@ func getHeadscaleCLIClient() (context.Context, v1.HeadscaleServiceClient, *grpc.
 | 
			
		||||
	conn, err := grpc.DialContext(ctx, address, grpcOptions...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatal().Caller().Err(err).Msgf("Could not connect: %v", err)
 | 
			
		||||
		os.Exit(-1) // we get here if logging is supressed (i.e., json output)
 | 
			
		||||
		os.Exit(-1) // we get here if logging is suppressed (i.e., json output)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	client := v1.NewHeadscaleServiceClient(conn)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user