summaryrefslogtreecommitdiff
path: root/exports/disco.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:09:28 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:12:48 +0100
commit59e6ccd051452162fab852a25deb4f0f8a9e22b2 (patch)
treef4d8168b5b696f0eae26dbfc0e6cae514cbe65e7 /exports/disco.go
parent279c0de75629de5868c3ac1b3272a2850e6b62f7 (diff)
Refactor: Fix revive linter errors by deleting redundant prefixes
Diffstat (limited to 'exports/disco.go')
-rw-r--r--exports/disco.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/exports/disco.go b/exports/disco.go
index b04385a..51de2f5 100644
--- a/exports/disco.go
+++ b/exports/disco.go
@@ -74,7 +74,7 @@ func getCPtrDiscoOrganizations(
for _, organization := range organizations.List {
cOrganization := getCPtrDiscoOrganization(state, &organization)
cOrganizations[index] = cOrganization
- index += 1
+ index++
}
return totalOrganizations, organizationsPtr
}
@@ -117,7 +117,7 @@ func getCPtrDiscoServers(
for _, server := range servers.List {
cServer := getCPtrDiscoServer(state, &server)
cServers[index] = cServer
- index += 1
+ index++
}
return totalServers, serversPtr
}