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)
- Lack of error messages with some commands that should error out
- Redundant dangling info message when listing volumes HOT 4
- 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 5
- Talos kubernetes-marketplace compatibility - block install attempt for cluster-type talos
- CLI creating networks in the wrong region
- Creating networks with the CLI does not create a default firewall rule for it HOT 1
- Suggestion: Use ANSI Escape Codes Instead of Third-Party Library for Console Colors HOT 2
- Repo standard/code quality analysis
- Wrong region displayed in message when no resources found HOT 4
- The CLI should support updating the firewall of a cluster HOT 1
- When creating civo firewall, `--create-rules=false` still creates default firewall rules HOT 3
- Listing firewalls with no rules doesn't display relevant information HOT 1
- Listing firewall multiple times keeps showing different and incorrect networks HOT 1
- Scaling Node Pool via CLI Fails When No Nodes are Present in the Pool HOT 5
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.