filesystem changes#6466
Conversation
|
@mohammed90 can you try this? when i run caddyfile adapt, i get not sure if this is right still. |
|
note for myself: notify these projects https://github.com/sagikazarmark/caddy-fs-s3 |
This works! See mohammed90/caddy-git-fs#2. I had to introduce a local interface to reach the
I wonder if it's possible to reduce the nesting. In other words, to make it: or if necessary at all 🤔 |
|
Nit, but should it be |
https://caddyserver.com/docs/caddyfile/options#storage dont think it's a nit, i think you're right, you already use file_system elsewhere in the project. will change soon |
| type moduleEntry struct { | ||
| Key string `json:"name,omitempty"` | ||
| FileSystemRaw json.RawMessage `json:"file_system,omitempty" caddy:"namespace=caddy.fs inline_key=backend"` | ||
| FileSystemRaw json.RawMessage `json:"filesystem,omitempty" caddy:"namespace=caddy.fs inline_key=backend"` |
There was a problem hiding this comment.
| FileSystemRaw json.RawMessage `json:"filesystem,omitempty" caddy:"namespace=caddy.fs inline_key=backend"` | |
| FileSystemRaw json.RawMessage `json:"file_system,omitempty" caddy:"namespace=caddy.fs inline_key=backend"` |
There was a problem hiding this comment.
huh? The point of this PR is to fix that, but you're suggesting reverting the fix back to status-quo. I'm confused.
There was a problem hiding this comment.
Hmm, well I thought we agreed it was two words: #6466 (comment) (see also next comment)
There was a problem hiding this comment.
i changed this in other places (see httptype.go), but i did not change it here in fear of breaking existing caddyfiles.
|
I'm not really sure what was going on in this PR, but without a clear title and PR description and no activity in 1.5 years, I'll close it as inactive. |
No description provided.