uffizzi_core 2.1.8 → 2.1.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23709086570ed3f71d5441b405a89e549ef018701ee69860bf1e52a599b261f3
|
4
|
+
data.tar.gz: 2253edd2072ab0f28d6634cda6f1f67d2dbfdd38afed8f6be641f653290663dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbee92e8db6aedcd94d2d4cd795556782c23015858ed58bfaf28f2a99881e19944295402e6c95695f2d0e7c77b8138ce9e48d5902b02361d94e98d74a146a70f
|
7
|
+
data.tar.gz: d430e40efbebcca7db9cdd92f84a27cb9632535b17d15ca48461463b9dc3997b1c017fa563525f76b37c92c4d6a11177cea19cda6606498aa72194c85a329de0
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
class UffizziCore::LogsService
|
4
4
|
NOT_ALLOWED_SYMBOLS_IN_NAME_REGEX = /[^a-zA-Z0-9-]/.freeze
|
5
|
+
DEFAULT_LOGS_LIMIT = 1000
|
5
6
|
|
6
7
|
class << self
|
7
8
|
def fetch_container_logs(container, query = {})
|
@@ -22,7 +23,7 @@ class UffizziCore::LogsService
|
|
22
23
|
controller_client.deployment_container_logs(
|
23
24
|
deployment_id: deployment.id,
|
24
25
|
container_name: UffizziCore::ContainerService.pod_name(container),
|
25
|
-
limit: query[:limit],
|
26
|
+
limit: query[:limit] || DEFAULT_LOGS_LIMIT,
|
26
27
|
previous: query[:previous] || false,
|
27
28
|
)
|
28
29
|
end
|
data/lib/uffizzi_core/version.rb
CHANGED
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.
|
4
|
+
version: 2.1.10
|
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-03-
|
12
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|