diff --git a/wsl-pro-service/internal/system/landscape.go b/wsl-pro-service/internal/system/landscape.go index c163d4858..cf02bb8b5 100644 --- a/wsl-pro-service/internal/system/landscape.go +++ b/wsl-pro-service/internal/system/landscape.go @@ -153,7 +153,7 @@ func overrideSSLCertificate(ctx context.Context, s *System, data *ini.File) erro pathWindows := k.String() cmd, args := s.backend.WslpathExecutable("-ua", pathWindows) - //nolint:gosec // In production code, these variables are hard-coded (except for the path). + //nolint:gosec // In production code, the executable (wslpath) is hardcoded. out, err := exec.CommandContext(ctx, cmd, args...).CombinedOutput() if err != nil { return fmt.Errorf("could not translate SSL certificate path %q to a WSL path: %v: %s", pathWindows, err, out)