-
Notifications
You must be signed in to change notification settings - Fork 75
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
Added vdc meta data functions #203
Conversation
Signed-off-by: Vaidotas Bauzys <[email protected]>
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.
Just one question :)
Signed-off-by: Vaidotas Bauzys <[email protected]>
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.
Some small changes needed
govcd/metadata_test.go
Outdated
check.Assert(err, IsNil) | ||
for _, k := range metadata.MetadataEntry { | ||
if k.Key == "key2" { | ||
check.Errorf("metadata.MetadataEntry should not contain key: %s", k) |
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.
Instead of k
, it should be k.Key
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.
fixed
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.
Looks good in general. A few minor comments from my side.
Signed-off-by: Vaidotas Bauzys <[email protected]>
Signed-off-by: Vaidotas Bauzys <[email protected]>
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.
LGTM
Signed-off-by: Vaidotas Bauzys <[email protected]> # Conflicts: # CHANGELOG.md # govcd/system.go # types/v56/types.go
Signed-off-by: Vaidotas Bauzys <[email protected]> # Conflicts: # CHANGELOG.md # govcd/system.go # types/v56/types.go
Signed-off-by: Vaidotas Bauzys <[email protected]>
…ector into vdc_metadata Signed-off-by: Vaidotas Bauzys <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Vaidotas Bauzys <[email protected]>
Signed-off-by: Vaidotas Bauzys <[email protected]>
Signed-off-by: Vaidotas Bauzys <[email protected]>
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.
LGTM
Ref: https://github.com/terraform-providers/terraform-provider-vcd/issues/238
Functions for handling meta data for vDC.
Also from previous research added developed function for future -
QueryOrgVdcNetworkByName