func IsSameCloudMetadata(meta1, meta2 map[string]Cloud) (bool, error) {
	// The easiest approach is to simply marshall to YAML and compare.
	yaml1, err := marshalCloudMetadata(meta1)
	if err != nil {
		return false, err
	}
	yaml2, err := marshalCloudMetadata(meta2)
	if err != nil {
		return false, err
	}
	return string(yaml1) == string(yaml2), nil
}
// IsSameCloudMetadata returns true if both meta and meta2 contain the
// same cloud metadata.
IsSameCloudMetadata returns true if both meta and meta2 contain the
same cloud metadata.
// IsSameCloudMetadata returns true if both meta and meta2 contain the // same cloud metadata .
func IsSameCloudMetadata(meta1, meta2 map[string]Cloud) (bool, error) {
	yaml1, err := marshalCloudMetadata(meta1)
	if err != nil {
		return false, err
	}
	yaml2, err := marshalCloudMetadata(meta2)
	if err != nil {
		return false, err
	}
	return string(yaml1) == string(yaml2), nil
}
func IsSameCloudMetadata ( meta1 , meta2 map [ string ] Cloud ) ( bool , error ) { yaml1 , err := marshalCloudMetadata ( meta1 ) if err != nil { return false , err } yaml2 , err := marshalCloudMetadata ( meta2 ) if err != nil { return false , err } return string ( yaml1 ) == string ( yaml2 ) , nil }
IsSameCloudMetadata returns true if both meta and meta2 contain the
same cloud metadata.
IsSameCloudMetadata returns true if both meta and meta2 contain the same cloud metadata .
// The easiest approach is to simply marshall to YAML and compare.