Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/praefect/datastore.go')
-rw-r--r--internal/praefect/datastore.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/praefect/datastore.go b/internal/praefect/datastore.go
index b336bff0c..4d97abc55 100644
--- a/internal/praefect/datastore.go
+++ b/internal/praefect/datastore.go
@@ -174,7 +174,6 @@ func (md *MemoryDatastore) PickAPrimary() (*models.Node, error) {
}
return nil, errors.New("no default primaries found")
-
}
// GetReplicas gets the secondaries for a repository based on the relative path
@@ -233,7 +232,6 @@ func (md *MemoryDatastore) GetPrimary(relativePath string) (*models.Node, error)
return nil, errors.New("node storage not found")
}
return &storageNode, nil
-
}
// SetPrimary sets the primary storagee node for a repository of a repository relative path