Skip to content

Commit 4411cb3

Browse files
committed
refine tag disp
1 parent 631afe6 commit 4411cb3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/lib/client/code/ecr_images.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def get_manifest_tag(image)
202202
end
203203
return tag if date.nil?
204204

205-
{ title: "#{tag}* (#{date_format(date)})", value: tag }
205+
{ title: "#{tag} (#{date_format(date)})", value: "#{tag}*" }
206206
end
207207

208208
def get_image_tags_by_digest(image, tag, digest)

app/lib/client/query/query.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def self.client
2020
end
2121

2222
def initialize
23+
throw 'QueryClient is disabled' unless ENV.fetch('SKIP_DATABASE', '').empty?
2324
@columndefs = {}
2425
@fragments = {}
2526
@queries = {}

0 commit comments

Comments
 (0)