uffizzi_core 2.1.27 → 2.1.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a8a1183efec864646047c9f61ae530737b409a1053d35a784064f85644debc5
4
- data.tar.gz: 1e379b56a9dbbd9359d9465d804e7006674033b2ce1ca044b100e180b7950804
3
+ metadata.gz: c97fb24aa0b59fec57a431af483f81a030afa9260fc7f0db21488edc0ad88842
4
+ data.tar.gz: e96d6f8d5b97de2d35e5311ab4cacb081a09713f1c75452d3a895c3caf73c190
5
5
  SHA512:
6
- metadata.gz: 7ac9e06c7d871c1ed0a3d6e91b6e15118cf99048828777a9aca540c871327234dc2b839db691da579476b33edccb56682c05ec98461e177e30a2bde65f4a1a8f
7
- data.tar.gz: 80b8a0283c69a1f0a74d32d33301030d1b6f5794817b33d12523a6a91df7426c22af96168cea50a6576268a7df8806118c196115797ce646f0d4beee48115777
6
+ metadata.gz: 94efb8590f5b3575978921342816d7fe48355af568f2c6e693093b64b1ac8fae5533f859e5567b201d3d67254f107fc703167ad59b1b6016376b88ab3bab5398
7
+ data.tar.gz: f258d75612c7abfda4ca2aea0bafecba4274d91cf3ecbe663051f5ef6a0614177d3666931a9317d7d6fcf7c11a2c8c22fb2ce38a1ffee4760e1d29e67f93cf5b
@@ -34,6 +34,7 @@ class UffizziCore::DockerRegistryClient
34
34
  def build_connection(username, password)
35
35
  # initializing Faraday with the registry_url will trim the trailing slash required for the /v2/ request
36
36
  connection = Faraday.new do |faraday|
37
+ faraday.headers['Accept'] = ACCEPTED_TYPES
37
38
  faraday.request(:basic_auth, username, password) if username.present? && password.present?
38
39
  faraday.request(:json)
39
40
  faraday.response(:json)
@@ -64,6 +64,7 @@ class UffizziCore::ContainerService
64
64
  def container_status(container, pods)
65
65
  pods
66
66
  .flat_map { |pod| pod&.status&.container_statuses }
67
+ .compact
67
68
  .detect { |cs| cs.name.include?(container.controller_name) }
68
69
  end
69
70
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.1.27'
4
+ VERSION = '2.1.29'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uffizzi_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.27
4
+ version: 2.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-06-07 00:00:00.000000000 Z
12
+ date: 2023-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm