1
0
mirror of https://github.com/rclone/rclone.git synced 2026-03-01 19:01:11 +00:00
Files
rclone/fs/rc/internal_test.go
Nick Craig-Wood b3710c962e rc: fix core/command giving 500 internal error - fixes #4914
Before this change calling core/command gave the error

    error: response object is required expecting *http.ResponseWriter value for key "_response" (was *http.response)

This was because the http.ResponseWriter is an interface not an object.

Removing the `*` fixes the problem.

This also indicates that this bit of code wasn't properly tested.
2021-01-10 16:34:46 +00:00

4.8 KiB