-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CPU Type to Server Type #91
Conversation
hcloud/schema_test.go
Outdated
@@ -534,6 +534,7 @@ func TestServerTypeFromSchema(t *testing.T) { | |||
"memory": 1.0, | |||
"disk": 20, | |||
"storage_type": "local", | |||
"cpu_type": "shared", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong indentation.
hcloud/server_type.go
Outdated
@@ -32,6 +33,17 @@ const ( | |||
StorageTypeCeph StorageType = "ceph" | |||
) | |||
|
|||
// CPUType specifies the type of cpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use proper casing for “cpu” and make it a proper sentence.
hcloud/server_type.go
Outdated
type CPUType string | ||
|
||
const ( | ||
// CPUTypeShared is the type for shared cpu cores. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cpu cores → CPU
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add an entry to CHANGES.md
.
No description provided.