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(
|
||||
f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED)
|
||||
)
|
||||
if ref == "master":
|
||||
if ref == "main":
|
||||
msg = (
|
||||
"Failed to check out the 'master' branch. "
|
||||
"Maybe the default branch is not named 'master' "
|
||||
"Failed to check out the 'main' branch. "
|
||||
"Maybe the default branch is not named 'main' "
|
||||
"for this repository.\n\nTry not explicitly "
|
||||
"specifying `--ref`."
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue