aboutsummaryrefslogtreecommitdiffstats
path: root/examples/object_storage/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/object_storage/storage.go')
-rw-r--r--examples/object_storage/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/object_storage/storage.go b/examples/object_storage/storage.go
index 0513654..eef294c 100644
--- a/examples/object_storage/storage.go
+++ b/examples/object_storage/storage.go
@@ -86,7 +86,7 @@ func (o *AerospikeObjectStorage) Set(obj core.Object) (core.Hash, error) {
return obj.Hash(), err
}
-func (o *AerospikeObjectStorage) Get(h core.Hash, t core.ObjectType) (core.Object, error) {
+func (o *AerospikeObjectStorage) Get(t core.ObjectType, h core.Hash) (core.Object, error) {
key, err := keyFromObject(h, t)
if err != nil {
return nil, err