Update diagnostics.go
This commit is contained in:
		
							parent
							
								
									7e8033d96c
								
							
						
					
					
						commit
						f50f580dcc
					
				| 
						 | 
					@ -91,7 +91,7 @@ func diagnosticsCmdRun(cmd *cobra.Command, args []string) {
 | 
				
			||||||
	printHeader(output, "Versions")
 | 
						printHeader(output, "Versions")
 | 
				
			||||||
	fmt.Fprintln(output, "         wings:", system.Version)
 | 
						fmt.Fprintln(output, "         wings:", system.Version)
 | 
				
			||||||
	if dockerErr == nil {
 | 
						if dockerErr == nil {
 | 
				
			||||||
		fmt.Fprintln(output, "Docker", dockerVersion.Version)
 | 
							fmt.Fprintln(output, "Docker:", dockerVersion.Version)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if v, err := kernel.GetKernelVersion(); err == nil {
 | 
						if v, err := kernel.GetKernelVersion(); err == nil {
 | 
				
			||||||
		fmt.Fprintln(output, "Kernel:", v)
 | 
							fmt.Fprintln(output, "Kernel:", v)
 | 
				
			||||||
| 
						 | 
					@ -105,7 +105,7 @@ func diagnosticsCmdRun(cmd *cobra.Command, args []string) {
 | 
				
			||||||
	if cfg != nil {
 | 
						if cfg != nil {
 | 
				
			||||||
		fmt.Fprintln(output, "    Panel Location:", redact(cfg.PanelLocation))
 | 
							fmt.Fprintln(output, "    Panel Location:", redact(cfg.PanelLocation))
 | 
				
			||||||
		fmt.Fprintln(output, "")
 | 
							fmt.Fprintln(output, "")
 | 
				
			||||||
		fmt.Fprintln(output, "Internal Webserver:", redact(cfg.Api.Host) + ":", cfg.Api.Port)
 | 
							fmt.Fprintln(output, " Internal Webserver:", redact(cfg.Api.Host), ":", cfg.Api.Port)
 | 
				
			||||||
		fmt.Fprintln(output, "        SSL Enabled:", cfg.Api.Ssl.Enabled)
 | 
							fmt.Fprintln(output, "        SSL Enabled:", cfg.Api.Ssl.Enabled)
 | 
				
			||||||
		fmt.Fprintln(output, "    SSL Certificate:", redact(cfg.Api.Ssl.CertificateFile))
 | 
							fmt.Fprintln(output, "    SSL Certificate:", redact(cfg.Api.Ssl.CertificateFile))
 | 
				
			||||||
		fmt.Fprintln(output, "            SSL Key:", redact(cfg.Api.Ssl.KeyFile))
 | 
							fmt.Fprintln(output, "            SSL Key:", redact(cfg.Api.Ssl.KeyFile))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user