Comments (5)
Are you still seeing the issue?
martyn@MacBook-Pro ~ % civo instances ls --region=NYC1
martyn@MacBook-Pro ~ %
I can't reproduce it anymore, as it was an upstream issue it may well have been patched there for you
from cli.
Hi guys is already fix from the API side, so there is not need to update the CLI or the Civogo lib
from cli.
The issue is actually in the civogo library, not the cli wrapper.
The error is an UnmarshallTypeError
The answer looks to be in: {"page":"1","per_page":null,"pages":0,"items":[]}
which should be: {"page":1,"per_page":null,"pages":0,"items":[]}
.
I've checked when you have an instance in SVG1 you get: 1
but when no instances in NYC1 you get "1"
The error is because:
type PaginatedInstanceList struct {
Page int `json:"page"`
PerPage int `json:"per_page"`
Pages int `json:"pages"`
Items []Instance `json:"items"`
}
Expects an int and it should be a string
@andyjeffries Any thoughts
from cli.
This is already fix
from cli.
@martynbristow Thank you for the thorough details!
This is already fix
When do you think I may expect the fix to be merged and released? I use the civo
CLI through Homebrew.
from cli.
Related Issues (20)
- Progress bars must go to stderr, not stdout
- No way to fetch username and password for kubernetes applications programmatically
- Creating a kubernetes cluster should configure kubectl by default and clean the configuration on deletion
- Generic "error" message telling you to come here to write an issue and/or update the CLI
- Reconsider CLI defaults
- Randomize name of bucket if no bucket name is provided
- Reconsider behaviour when providing a value lower than 500 for bucket size
- Database software type value input should be more flexible
- When adding applications to a cluster, the feedback needs to be more specific
- The command help needs to make it specific you can add multiple apps separated by commas
- Lack of error messages with some commands that should error out
- Redundant dangling info message when listing volumes HOT 3
- Changing the API key to an incorrent API key breaks the entire CLI
- When no API key is present, the CLI should provide a link to the dashboard for the API key
- Considering changing current command to set for civo apikey current
- Is not being able to remove the current API key a desired behaviour? HOT 1
- When no resources are returned it would be helpful to tell the user what region they are in
- Creation of resources with the same name is problematic HOT 1
- We need flags to delete all dependent resources and configurations with deleting a cluster HOT 3
- Talos kubernetes-marketplace compatibility - block install attempt for cluster-type talos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.