Skip to content

Commit 553d922

Browse files
committed
update regexp for ds.meta_data.failuredomain replacement
1 parent e8988e4 commit 553d922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/cloudstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import (
4343

4444
var (
4545
hostnameMatcher = regexp.MustCompile(`\{\{\s*ds\.meta_data\.hostname\s*\}\}`)
46-
failuredomainMatcher = regexp.MustCompile(`\{\{\s*ds\.meta_data\.failuredomain\s*\}\}`)
46+
failuredomainMatcher = regexp.MustCompile(`ds\.meta_data\.failuredomain`)
4747
)
4848

4949
// +kubebuilder:rbac:groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachines,verbs=get;list;watch;create;update;patch;delete

0 commit comments

Comments
 (0)