podman/pkg/api/handlers/compat
Nalin Dahyabhai 21f396de6f logs: adjust handling around partial log messages
In libpod/logs.LogLine.Write(), don't write a newline to stdout/stderr
when the log message is only part of a line.

In libpod.ConmonOCIRuntime.HTTPAttach(), don't send a newline over the
HTTP connection when the log message is only part of a line.

In pkg/api/handlers/compat.LogsFromContainer(), don't send a newline
over the HTTP connection when the log message is only part of a line,
and don't make doing so conditional on whether or not the client used
the docker or podman endpoint.

In pkg/domain/infra/tunnel.ContainerEngine.ContainerLogs(), don't add
our own newline to log messages, since they already come through from
the server when they need to.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2021-08-23 18:00:18 -04:00
..
auth.go remove `pkg/registries` 2021-06-25 09:56:21 +02:00
changes.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
containers.go Compat API: Fix healthcheck status and healthcheck config 2021-08-03 15:38:04 +02:00
containers_archive.go support container to container copy 2021-07-27 15:32:23 +02:00
containers_attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_create.go support tag@digest notation 2021-05-31 14:38:43 +02:00
containers_export.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_logs.go logs: adjust handling around partial log messages 2021-08-23 18:00:18 -04:00
containers_pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_prune.go Containers prune endpoint should use only prune filters 2021-03-30 10:19:22 +02:00
containers_restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_start.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
containers_stats.go added tests in python rest api 2021-06-01 14:54:02 -04:00
containers_stop.go podman-remote stop -time 0 does not work 2021-03-05 10:39:17 -05:00
containers_top.go Trim white space from /top endpoint results 2021-03-30 10:42:06 -07:00
containers_unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
events.go remote events: fix --stream=false 2021-06-04 12:51:43 +02:00
exec.go Fix resize race with podman exec -it 2021-06-16 16:43:30 +02:00
images.go compat: image create: handle platform correctly 2021-07-20 09:00:44 +02:00
images_build.go For compatibility, ignore Content-Type 2021-08-11 13:50:51 -07:00
images_history.go vendor containers/common@main 2021-07-16 14:19:56 +02:00
images_prune.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_push.go Use request context instead of background 2021-06-01 15:25:20 +02:00
images_remove.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_tag.go vendor containers/common@main 2021-07-16 14:19:56 +02:00
info.go Podman info output plugin information 2021-08-19 17:33:20 +02:00
networks.go Return macvlan object in /network REST API response 2021-07-14 12:24:03 -07:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go Fix resize race with podman exec -it 2021-06-16 16:43:30 +02:00
secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05:00
swagger.go [NO TESTS NEEDED] Clean up swagger 2021-08-19 07:57:54 -07:00
system.go bump go module to v3 2021-02-22 09:03:51 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to v3 2021-02-22 09:03:51 +01:00
version.go Update /version endpoint to add components 2021-08-19 14:19:45 -07:00
volumes.go Allow docker volume create API to pass without name 2021-04-27 10:32:06 -04:00