Skip to content

Commit

Permalink
Fix Vector agent config map name
Browse files Browse the repository at this point in the history
  • Loading branch information
olim7t committed Mar 19, 2024
1 parent d23e9a1 commit 67240c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/telemetry/vector.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,5 @@ func BuildVectorAgentConfigMap(namespace, k8cName, dcName, k8cNamespace, vectorT
}

func VectorAgentConfigMapName(k8cName, dcName string) string {
return fmt.Sprintf("%s-%s-cass-vector", k8cName, dcName)
return cassdcapi.CleanupForKubernetes(fmt.Sprintf("%s-%s-cass-vector", k8cName, dcName))
}

0 comments on commit 67240c7

Please sign in to comment.