Skip to content

Commit 30920e7

Browse files
melinathJianweiQ
authored andcommitted
Omit empty package_path when serializing product (GoogleCloudPlatform#16176)
1 parent d9abe4b commit 30920e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmv1/api/product.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type Product struct {
3636
Name string
3737

3838
// This is the name of the package path relative to mmv1 root repo
39-
PackagePath string
39+
PackagePath string `yaml:"package_path,omitempty"`
4040

4141
// original value of :name before the provider override happens
4242
// same as :name if not overridden in provider

0 commit comments

Comments
 (0)