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
As you can see in the linked code below, the Container.push_path() function only works with text files. Internally, it's calling Container.push(), but it doesn't allow customizing its parameters, so you can't specify encoding, permissions, user_id and so on.
As you can see in the linked code below, the
Container.push_path()
function only works with text files. Internally, it's callingContainer.push()
, but it doesn't allow customizing its parameters, so you can't specify encoding, permissions, user_id and so on.operator/ops/model.py
Lines 2594 to 2598 in 77b85ee
It would be great if at least the
encoding
parameter was surfaced inpush_path
, so that it's possible to get binary files from the charm container.My current workaround:
The text was updated successfully, but these errors were encountered: