Unverified Commit 3f7846b4 authored by bryanl's avatar bryanl
Browse files

Omit library gitVersion if null

Fixes #511
Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
parent fe8f325d
......@@ -289,7 +289,7 @@ type EnvironmentDestinationSpec struct {
type LibraryRefSpec struct {
Name string `json:"name"`
Registry string `json:"registry"`
GitVersion *GitVersionSpec `json:"gitVersion"`
GitVersion *GitVersionSpec `json:"gitVersion,omitempty"`
// GitVersionSpec is the specification for a Registry's Git Version.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment