aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-02 15:36:11 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commit696bc9b01ce0ed3347fa1bd64460ccc08091e90a (patch)
treee2c9a4ae0689443b27679831904947a39fb8f20b /cmd
parent58c0879c2fbc9f88f35ba503674088da23a8a5a7 (diff)
downloaddexon-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.gz
dexon-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.zst
dexon-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.zip
swarm/storage/feeds: renamed vars that can conflict with package name
Diffstat (limited to 'cmd')
-rw-r--r--cmd/swarm/feeds_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/swarm/feeds_test.go b/cmd/swarm/feeds_test.go
index 055d0ab4c..dd0651a25 100644
--- a/cmd/swarm/feeds_test.go
+++ b/cmd/swarm/feeds_test.go
@@ -101,13 +101,13 @@ func TestCLIFeedUpdate(t *testing.T) {
}
// Feed configures whose updates we will be looking up.
- feed := feeds.Feed{
+ fd := feeds.Feed{
Topic: topic,
User: address,
}
// Build a query to get the latest update
- query := feeds.NewQueryLatest(&feed, lookup.NoClue)
+ query := feeds.NewQueryLatest(&fd, lookup.NoClue)
// retrieve content!
reader, err := client.QueryFeed(query, "")
@@ -146,8 +146,8 @@ func TestCLIFeedUpdate(t *testing.T) {
}
// make sure the retrieved feed is the same
- if request.Feed != feed {
- t.Fatalf("Expected feed to be: %s, got %s", feed, request.Feed)
+ if request.Feed != fd {
+ t.Fatalf("Expected feed to be: %s, got %s", fd, request.Feed)
}
// test publishing a manifest