summaryrefslogtreecommitdiff
path: root/tooling
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-30 15:12:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-30 15:12:24 +0000
commiteaec42f9e37fe51f9c53fa7079639ec9f4c40efc (patch)
tree2abbab9659bc8e043b2dbb9dcf797a5aab717767 /tooling
parent4e8c8922da341914b9fd5570ec9ce7a29ffdfebd (diff)
downloadgitlab-ce-eaec42f9e37fe51f9c53fa7079639ec9f4c40efc.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling')
-rw-r--r--tooling/lib/tooling/helm3_client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooling/lib/tooling/helm3_client.rb b/tooling/lib/tooling/helm3_client.rb
index 3743138f27e..6e4a35e82f1 100644
--- a/tooling/lib/tooling/helm3_client.rb
+++ b/tooling/lib/tooling/helm3_client.rb
@@ -19,7 +19,7 @@ module Tooling
end
def last_update
- @last_update ||= Time.parse(self[:last_update])
+ @last_update ||= self[:last_update] ? Time.parse(self[:last_update]) : nil
end
end