You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func GetVirtualMachineTagsE(vmName string, resGroupName string, subscriptionID string) (map[string]string, error) {
// Setup a blank map to populate and return var tags map[string]string
// Get VM Object
vm, err := GetVirtualMachineE(vmName, resGroupName, subscriptionID)
if err != nil {
return nil, err
}
// Range through existing tags and populate above map accordingly
for k, v := range vm.Tags {
tags[k] = *v
}
return tags, nil
}
The text was updated successfully, but these errors were encountered:
* Updated VM tags module and tests
* Enforce complex password requirement
* Added tag variable
* Enforce complex password requirement mysqldb
* Added missing build tag resgrp_test
* Updated unit test
* Updated module and reverted unit test.
* Updated revert.
* Updated tag test
* Updated to use output, removed additional updates
* Removed extra changes
func GetVirtualMachineTagsE(vmName string, resGroupName string, subscriptionID string) (map[string]string, error) {
map has not been properly intialized
func GetVirtualMachineTagsE(vmName string, resGroupName string, subscriptionID string) (map[string]string, error) {
// Setup a blank map to populate and return
var tags map[string]string
}
The text was updated successfully, but these errors were encountered: