Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
huojiao2006 committed Aug 5, 2019
1 parent 6d19436 commit cc2a8a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ type Config struct {
}

Websocket struct {
//Service string `default:"op,ks"`
Service string `default:"none"`
Service string `default:"op,ks"`
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/services/notification/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func (s *Server) DeleteAddresses(ctx context.Context, req *pb.DeleteAddressesReq
err := rs.DeleteAddresses(ctx, addressIds)
if err != nil {
logger.Errorf(ctx, "Failed to delete addresses [%+v], %+v.", addressIds, err)
return nil, gerr.NewWithDetail(ctx, gerr.Internal, err, gerr.ErrorNotExistAddrInList, addressIds)
return nil, gerr.NewWithDetail(ctx, gerr.Internal, err, gerr.ErrorDeleteResourceFailed, addressIds)
}

logger.Debugf(ctx, "Delete addresses [%+v] successfully.", addressIds)
Expand Down

0 comments on commit cc2a8a7

Please sign in to comment.