Skip to content

Commit 2593f7a

Browse files
committed
client: upload: fix type assertion on stat
Fixes dbe9014
1 parent 6ede1ed commit 2593f7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/client/upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (client *Client) Upload(
5555
Mtime: fi.ModTime().Unix(),
5656
}
5757
switch fiSys := fi.Sys().(type) {
58-
case syscall.Stat_t:
58+
case *syscall.Stat_t:
5959
statopt.Ctime = fiSys.Ctim.Sec
6060
default:
6161
client.vlog().Infof("unexpected stat type: %T", fiSys)

0 commit comments

Comments
 (0)