Skip to content

Commit 8debf30

Browse files
committed
fix typos
typo + incorrect string representation of entry type (Name -> Database)
1 parent bdb3e08 commit 8debf30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scheme/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func Example() {
2121
}
2222
d, err := db.Scheme().ListDirectory(ctx, "/local/test")
2323
if err != nil {
24-
fmt.Printf("failed to lsit directory: %v", err)
24+
fmt.Printf("failed to list directory: %v", err)
2525
}
2626
fmt.Printf("list directory: %+v\n", d)
2727
}

scheme/scheme.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (t EntryType) String() string {
4848
case EntryPersQueueGroup:
4949
return "PersQueueGroup"
5050
case EntryDatabase:
51-
return "Name"
51+
return "Database"
5252
case EntryRtmrVolume:
5353
return "RtmrVolume"
5454
case EntryBlockStoreVolume:

0 commit comments

Comments
 (0)