Commit c3e7921
committed
bug: Fix linode-cli image-upload plugin
Closes linode/linode-cli#264
In 1b984f6, we removed the
`linode-cli images upload` command from the Linode CLI in favor of using
the `linode-cli image-upload` plugin, which is a much better way to
accomplish the same thing. However, as it turns out, the plugin [relies
on that CLI operations to upload an image](https://github.com/linode/linode-cli/blob/abda241415d5805ee17f1697494a013d408d30ca/linodecli/plugins/image-upload.py#L110),
so removing the operation broke the plugin.
This change reintroduces the CLI `images upload` CLI operation. If we'd
like to remove it in the future, I can look into reworking the plugin to
not require it (although generally CLI plugins use normal CLI operations
to make API calls, so it would take a little bit of effort to set that
up).1 parent b4eea79 commit c3e7921
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3860 | 3860 | | |
3861 | 3861 | | |
3862 | 3862 | | |
3863 | | - | |
3864 | 3863 | | |
3865 | 3864 | | |
3866 | 3865 | | |
| |||
0 commit comments