def get_compute_node_tags(cluster):
    "Return the given cluster's compute node's tags."
    compute_nodes = cluster.get_cluster_instance_ids(node_type='Compute')
    assert_that(compute_nodes).is_length(1)
    return get_ec2_instance_tags(compute_nodes[0], cluster.region)
Return the given cluster's compute node's tags.
def get_compute_node_tags(cluster):
    
    compute_nodes = cluster.get_cluster_instance_ids(node_type='Compute')
    assert_that(compute_nodes).is_length(1)
    return get_ec2_instance_tags(compute_nodes[0], cluster.region)