A bit of context:
This PR implements a local k6 loader implementation for S3 use-cases, as described in #14. Specifically, it can be used to stop services in a given cluster and fill each node…
Because all methods that return this type (or similar) are used in JavaScript side, so a compatible type (and number of return values) must be used.
See e.g. https://git.frostfs.info/TrueCloudLa…
.yaml
to .yml
what's wrong with .yaml
? should we also change to .jon
or jsn
then?
hm, I ran go mod tidy
. I don't really touch these files manually. Maybe it's ok now.
ah I see. Yes, good point. I added a comment about it on this line.
os.Chmod
was used here to cause the file to not be read properly, but the same can be achieved with os.Truncate
so that it can't be unmarshalled. I thought at least os.Truncate
didn't depend…
done. Is there any value in returning an error that is guaranteed to not be specially handled or better to use a relevant error for this path?
This is intentional, so that a TreeStore
can also be used purely as a mock (e.g. to verify only certain calls are executed and nothing is propagated to any underlying storage).
Re. the implicit…