oVirt / ovirt-engine-sdk-go

The generator of Go SDK for oVirt v4.0+
Apache License 2.0
19 stars 23 forks source link

Examples: fix show_summary and add check_OCP_support #211

Closed dougsland closed 4 years ago

dougsland commented 4 years ago

Signed-off-by: Douglas Schilling Landgraf dougsland@redhat.com

Benefits

Possible Drawbacks

None

Verification Process

Locally tested

Applicable Issues

Show users how the bits works.

dougsland commented 4 years ago

@gekorob @sandrobonazzola @imjoey

dougsland commented 4 years ago

Before the patch:

$ go run ./show_summary.go 
Version: &{{<nil>} 0xc000297178 <nil> <nil> 0xc0002ab090 <nil> 0xc0002971f8 0xc000297228 <nil> 0xc000297258}
Hosts: 2
StorageDomain: 3
Users: 1
Vms: 1

After the patch:

$ go run ./show_summary.go 
Version: 4.3.10.4-1.el7
Hosts: 2
StorageDomain: 3
Users: 1
Vms: 1
imjoey commented 4 years ago

Looks good to me. Let's merge it. Thank you very much @dougsland .