Skip to content

Commit d2c93e9

Browse files
committed
gofmt
1 parent 46763df commit d2c93e9

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

client_admin_backup.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ import (
2929

3030
// BackupMeta provides meta data of a backup
3131
type BackupMeta struct {
32-
ID BackupID `json:"id,omitempty"`
33-
Version string `json:"version,omitempty"`
34-
DateTime time.Time `json:"datetime,omitempty"`
35-
NumberOfFiles uint `json:"nrFiles,omitempty"`
36-
NumberOfDBServers uint `json:"nrDBServers,omitempty"`
37-
SizeInBytes uint64 `json:"sizeInBytes,omitempty"`
38-
PotentiallyInconsistent bool `json:"potentiallyInconsistent,omitempty"`
39-
Available bool `json:"available,omitempty"`
40-
NumberOfPiecesPresent uint `json:"nrPiecesPresent,omitempty"`
41-
Keys []BackupMetaSha256 `json:"keys,omitempty"`
32+
ID BackupID `json:"id,omitempty"`
33+
Version string `json:"version,omitempty"`
34+
DateTime time.Time `json:"datetime,omitempty"`
35+
NumberOfFiles uint `json:"nrFiles,omitempty"`
36+
NumberOfDBServers uint `json:"nrDBServers,omitempty"`
37+
SizeInBytes uint64 `json:"sizeInBytes,omitempty"`
38+
PotentiallyInconsistent bool `json:"potentiallyInconsistent,omitempty"`
39+
Available bool `json:"available,omitempty"`
40+
NumberOfPiecesPresent uint `json:"nrPiecesPresent,omitempty"`
41+
Keys []BackupMetaSha256 `json:"keys,omitempty"`
4242
}
4343

4444
// BackupMetaSha256 backup sha details

cluster/cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ func NewConnection(config ConnectionConfig, connectionBuilder ServerConnectionBu
7373
}
7474

7575
const (
76-
defaultTimeout = 9 * time.Minute
77-
keyEndpoint driver.ContextKey = "arangodb-endpoint"
76+
defaultTimeout = 9 * time.Minute
77+
keyEndpoint driver.ContextKey = "arangodb-endpoint"
7878
)
7979

8080
type clusterConnection struct {

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
ErrDisabled = 36
3939

4040
// HTTP error status codes
41-
ErrHttpForbidden = 403
41+
ErrHttpForbidden = 403
4242
ErrHttpInternal = 501
4343

4444
// Internal ArangoDB storage errors

test/database_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
)
3535

3636
// databaseName is helper to create database name in non-colliding way
37-
func databaseName(parts ... string) string {
37+
func databaseName(parts ...string) string {
3838
return fmt.Sprintf("%s_%s", strings.Join(parts, "_"), uniuri.NewLen(8))
3939
}
4040

test/graph_creation_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ func Test_Graph_AdvancedCreate(t *testing.T) {
137137
})
138138
}
139139

140-
141140
// Test_Graph_AdvancedCreate_Defaults will check if graph created have properly set replication factor
142141
// and write concern by default
143142
func Test_Graph_AdvancedCreate_Defaults(t *testing.T) {

0 commit comments

Comments
 (0)