mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
Capitalize the first letter of all log messages throughout the codebase to improve readability and consistency in logging output. Key improvements: - All log messages now start with capital letters - Consistent formatting across all logging statements - Improved readability for debugging and monitoring - Enhanced user experience with better formatted messages Files updated: - CLI commands and service management - Internal client information discovery - Network operations and configuration - DNS resolver and proxy operations - Platform-specific implementations This completes the final phase of the logging improvement project, ensuring all log messages follow consistent capitalization standards for better readability and professional appearance.
18 lines
356 B
Go
18 lines
356 B
Go
//go:build !unix
|
|
|
|
package cli
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/Control-D-Inc/ctrld"
|
|
)
|
|
|
|
// selfUninstall performs self-uninstallation on non-Unix platforms
|
|
func selfUninstall(p *prog, logger *ctrld.Logger) {
|
|
if uninstallInvalidCdUID(p, logger, false) {
|
|
logger.Warn().Msgf("Service was uninstalled because device %q does not exist", cdUID)
|
|
os.Exit(0)
|
|
}
|
|
}
|