You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
One issue we are facing with loading plugins through the api is that the temporary directory which houses the temporary files is not configurable in snapteld's configuration.
I noticed on line 192 of mgmt/rest/v1/plugin.go
the function writeFile uses the the ioutil.TempDir function:
ioutil.TempDir defaults to the TMPDIR env variable or to /tmp directory if it is not set. I was hoping it could default to either a directory in /opt/snap/ or be configurable in the snapteld configuration.
Let me know what you guys think.
Thanks!
The text was updated successfully, but these errors were encountered:
However, Tribe is not implemented in v2 routes yet. The reason of that is Tribe is still beta, and we might have a different approach on the API for the next version.
That's why it will take some time before this feature work with Tribe.
One issue we are facing with loading plugins through the api is that the temporary directory which houses the temporary files is not configurable in snapteld's configuration.
I noticed on line 192 of mgmt/rest/v1/plugin.go
the function
writeFile
uses the the ioutil.TempDir function:ioutil.TempDir defaults to the TMPDIR env variable or to
/tmp
directory if it is not set. I was hoping it could default to either a directory in/opt/snap/
or be configurable in the snapteld configuration.Let me know what you guys think.
Thanks!
The text was updated successfully, but these errors were encountered: