kopia lustrzana https://github.com/jupyterhub/repo2docker
Renamed branch to main
rodzic
21ad4cac54
commit
52e80769b0
|
@ -45,10 +45,10 @@ class Git(ContentProvider):
|
||||||
self.log.error(
|
self.log.error(
|
||||||
f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED)
|
f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED)
|
||||||
)
|
)
|
||||||
if ref == "master":
|
if ref == "main":
|
||||||
msg = (
|
msg = (
|
||||||
"Failed to check out the 'master' branch. "
|
"Failed to check out the 'main' branch. "
|
||||||
"Maybe the default branch is not named 'master' "
|
"Maybe the default branch is not named 'main' "
|
||||||
"for this repository.\n\nTry not explicitly "
|
"for this repository.\n\nTry not explicitly "
|
||||||
"specifying `--ref`."
|
"specifying `--ref`."
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue