Update diagnostics command (#108)
Co-authored-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
		
							parent
							
								
									04b9ef69a1
								
							
						
					
					
						commit
						66eb993afa
					
				| 
						 | 
				
			
			@ -78,7 +78,7 @@ func diagnosticsCmdRun(cmd *cobra.Command, args []string) {
 | 
			
		|||
		{
 | 
			
		||||
			Name: "ReviewBeforeUpload",
 | 
			
		||||
			Prompt: &survey.Confirm{
 | 
			
		||||
				Message: "Do you want to review the collected data before uploading to hastebin.com?",
 | 
			
		||||
				Message: "Do you want to review the collected data before uploading to " + diagnosticsArgs.HastebinURL + "?",
 | 
			
		||||
				Help:    "The data, especially the logs, might contain sensitive information, so you should review it. You will be asked again if you want to upload.",
 | 
			
		||||
				Default: true,
 | 
			
		||||
			},
 | 
			
		||||
| 
						 | 
				
			
			@ -96,7 +96,7 @@ func diagnosticsCmdRun(cmd *cobra.Command, args []string) {
 | 
			
		|||
	output := &strings.Builder{}
 | 
			
		||||
	fmt.Fprintln(output, "Pterodactyl Wings - Diagnostics Report")
 | 
			
		||||
	printHeader(output, "Versions")
 | 
			
		||||
	fmt.Fprintln(output, "         wings:", system.Version)
 | 
			
		||||
	fmt.Fprintln(output, "               Wings:", system.Version)
 | 
			
		||||
	if dockerErr == nil {
 | 
			
		||||
		fmt.Fprintln(output, "              Docker:", dockerVersion.Version)
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user