Skip to content

Commit

Permalink
Update dataproc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aboitreaud committed Dec 27, 2024
1 parent d434bec commit bb69b8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/fleet/installer/setup/djm/dataproc.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func SetupDataproc(s *common.Setup) error {
return fmt.Errorf("failed to set tags: %w", err)
}
if isMaster == "true" {
log.Info("Setting up integrations on resource manager node")
setupResourceManager(s, clusterName)
}
return nil
Expand All @@ -81,6 +82,7 @@ func setupCommonDataprocHostTags(s *common.Setup, metadataClient *metadata.Clien
return "", "", err
}
setHostTag(s, "cluster_id", clusterID)
setHostTag(s, "dataproc_cluster_id", clusterID)

dataprocRole, err := metadataClient.InstanceAttributeValueWithContext(ctx, "dataproc-role")
if err != nil {
Expand Down

0 comments on commit bb69b8c

Please sign in to comment.