Skip to content

Commit 2f100fe

Browse files
committed
Remove default namePattern fallback in CreateConfigmaps
1 parent c3696b7 commit 2f100fe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

contrib/utils/utils.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,7 @@ func CreateConfigmaps(ctx context.Context, kubeCfgPath, namespace, namePattern s
550550
if kubeCfgPath != "" {
551551
args = append(args, fmt.Sprintf("--kubeconfig=%s", kubeCfgPath))
552552
}
553-
if namePattern == "" {
554-
namePattern = "runkperf-bench"
555-
}
553+
556554
args = append(args, fmt.Sprintf("--namespace=%s", namespace), "add", namePattern)
557555
args = append(args, fmt.Sprintf("--total=%d", cmAmount))
558556
args = append(args, fmt.Sprintf("--size=%d", cmSize))

0 commit comments

Comments
 (0)