Skip to content

Commit

Permalink
fix: unittest
Browse files Browse the repository at this point in the history
Signed-off-by: hyponet <[email protected]>
  • Loading branch information
hyponet committed Apr 19, 2024
1 parent bfc1c98 commit fc89490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/apps/apis/fsapi/v1/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ func (s *services) DeleteProperty(ctx context.Context, request *DeletePropertyRe
}

func (s *services) GetLatestSequence(ctx context.Context, request *GetLatestSequenceRequest) (*GetLatestSequenceResponse, error) {
caller := common.CallerAuth(ctx)
caller := s.callerAuthFn(ctx)
if !caller.Authenticated {
return nil, status.Error(codes.Unauthenticated, "unauthenticated")
}
Expand Down
1 change: 1 addition & 0 deletions pkg/dentry/external.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (s *StubEntry) toEntry() *types.Metadata {
Name: s.name,
ParentID: s.parent,
Kind: s.info.Kind,
IsGroup: s.info.IsGroup,
Size: s.info.Size,
Storage: externalStorage,
CreatedAt: s.registerAt,
Expand Down

0 comments on commit fc89490

Please sign in to comment.