Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Fix trimUrl to not trim the beginning of the URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
falfaro authored and Sameer Naik committed Apr 18, 2019
1 parent 7dc9d16 commit ae8ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/lib/utils.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ local kube = import "kube.libsonnet";

trimUrl(str):: (
if std.endsWith(str, "/") then
std.substr(str, 1, std.length(str) - 1)
std.substr(str, 0, std.length(str) - 1)
else
str
),
Expand Down

0 comments on commit ae8ef5f

Please sign in to comment.