Skip to content

Commit

Permalink
feat: struct logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoReboul committed Dec 16, 2020
1 parent 8bb74b4 commit 5e58788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/gfs/func_recorddump.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func RecordDump(ctx context.Context,
retriesNumber time.Duration) (err error) {
var i time.Duration
var dumpName string
if strings.Contains(dumpNameFull, "") {
if strings.Contains(dumpNameFull, "/") {
parts := strings.Split(dumpNameFull, "/")
dumpName = strings.Replace(parts[1], ".dump", "", 1)
} else {
Expand Down

0 comments on commit 5e58788

Please # to comment.