Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abdotaskies committed Aug 30, 2024
1 parent ac194e1 commit 3166958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure-k3s.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $serviceFileContent = Get-Content -Path $serviceFilePath -Raw
Write-Log "Read service file content successfully"
# Add flag below the line containing 'server \'
[System.Collections.ArrayList]$lines = $serviceFileContent -split "`n"
$serverFlagIndex = $lines.IndexOf(($lines | Where-Object { $_ -match "server \\" }));
$serverFlagIndex = $lines.IndexOf(($lines | Where-Object { $_ -like "*server \*" }));
$serverContent = $serviceFileContent.Substring($serverFlagIndex);
$flags = @{
'--disable traefik' = [bool]$disable_traefik
Expand Down

0 comments on commit 3166958

Please sign in to comment.