storj/multinode/console/controllers
Clement Sam 137641f090 multinode/nodes: pass Node entity to Add method instead of set of a parameters
The Add method on the multinode DB interface accepts
a set of parameters which are already fields in the nodes.Node struct
excluding the name field.

When adding a new node, you're forced to call UpdateName() method
after calling the Add() method in order to save a node and update
the name.

This change allows passing the nodes.Node entity which includes
the name field. With this, a new node can be added together with
the name without invoking the UpdateName() method.

Change-Id: I281ec628dffaade35d6db4479a84f39636200072
2021-12-15 12:39:24 +00:00
..
bandwidth.go multinode/bandwidth: added monthly bandwidth summaries 2021-06-11 16:31:59 +00:00
common.go multinode/console: node list and get api 2020-12-17 16:19:57 +02:00
nodes.go multinode/nodes: pass Node entity to Add method instead of set of a parameters 2021-12-15 12:39:24 +00:00
operators.go multinode/console: operators controller added 2021-06-01 19:01:14 +03:00
payouts.go multinode/console: held amount summary use satellite address 2021-06-10 15:55:43 +03:00
reputation.go multinode/console: add reputation satellite api 2021-07-05 15:32:22 +00:00
storage.go multinode/console: add summary to storage usage API 2021-07-07 15:00:05 +03:00