mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
Fixes #16760: datasource git on local file system fails
This commit is contained in:
parent
4ca1494127
commit
7e008b502c
@ -97,6 +97,9 @@ class GitBackend(DataBackend):
|
|||||||
"password": self.params.get('password'),
|
"password": self.params.get('password'),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
elif not self.url_scheme:
|
||||||
|
clone_args["depth"] = None
|
||||||
|
del(clone_args["quiet"])
|
||||||
|
|
||||||
logger.debug(f"Cloning git repo: {self.url}")
|
logger.debug(f"Cloning git repo: {self.url}")
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user