Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inventory-provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
dashboardv3
inventory-provider
Commits
8e262e25
Commit
8e262e25
authored
6 years ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
fixed a couple of sloppy typos/bugs
parent
9ce7b713
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inventory_provider/__init__.py
+1
-1
1 addition, 1 deletion
inventory_provider/__init__.py
inventory_provider/tasks/worker.py
+1
-1
1 addition, 1 deletion
inventory_provider/tasks/worker.py
with
2 additions
and
2 deletions
inventory_provider/__init__.py
+
1
−
1
View file @
8e262e25
...
...
@@ -40,7 +40,7 @@ def create_app():
"
environment variable SETTINGS_FILENAME
'
must be defined
"
logging
.
info
(
"
initializing Flask with config from: %r
"
%
app
.
config
[
"
SETTINGS_FILENAME
"
])
%
os
.
environ
[
"
SETTINGS_FILENAME
"
])
app
.
config
.
from_envvar
(
"
SETTINGS_FILENAME
"
)
assert
"
INVENTORY_PROVIDER_CONFIG_FILENAME
"
in
app
.
config
,
(
...
...
This diff is collapsed.
Click to expand it.
inventory_provider/tasks/worker.py
+
1
−
1
View file @
8e262e25
...
...
@@ -69,7 +69,7 @@ class WorkerArgs(bootsteps.Step):
with
open
(
config_filename
)
as
f
:
task_logger
=
logging
.
getLogger
(
constants
.
TASK_LOGGER_NAME
)
task_logger
.
info
(
"
Initializing worker with config from: %r % config_filename
)
"
"
Initializing worker with config from: %r % config_filename
"
)
InventoryTask
.
config
=
config
.
load
(
f
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment