Skip to content

Commit

Permalink
fix(bake): root_volume_size should be ignored if null (spinnaker#1553)
Browse files Browse the repository at this point in the history
- ignoring root_volume_size if null
  • Loading branch information
jeyrschabu authored Aug 16, 2017
1 parent f76ff27 commit ac7a9d3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package com.netflix.spinnaker.orca.bakery.api

import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.PropertyNamingStrategy
import groovy.transform.CompileStatic
Expand Down Expand Up @@ -56,7 +57,9 @@ class BakeRequest {
Boolean enhancedNetworking
String amiName
String amiSuffix
int rootVolumeSize

@JsonInclude(JsonInclude.Include.NON_NULL)
Integer rootVolumeSize

private Map<String, Object> other = new HashMap<String, Object>()

Expand Down

0 comments on commit ac7a9d3

Please sign in to comment.