Skip to content

Commit

Permalink
fix(instancegroupmanager): no accept u64
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Nov 1, 2017
1 parent 843a89f commit 7fce2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gcloud"
version = "0.1.2"
version = "0.1.3"
authors = ["François-Guillaume RIBREAU <[email protected]>"]
repository = "https://github.com/FGRibreau/gcloud"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/instancegroupmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct InstanceGroupManagerOp<'a> {

impl<'a> InstanceGroupManagerOp<'a> {
/// Get Google Cloud compute instance list
pub fn resize(&self, new_size: u8) -> Result<GoogleAPIResponse, Box<Error>> {
pub fn resize(&self, new_size: u64) -> Result<GoogleAPIResponse, Box<Error>> {
self.client.post(
&format!("/instanceGroupManagers/{}/resize", self.name),
vec![("size", &new_size.to_string())],
Expand Down

0 comments on commit 7fce2b5

Please sign in to comment.