Formatting + Quality
This commit is contained in:
parent
93cbe0556c
commit
c5b61cdaf7
|
@ -113,7 +113,7 @@ func (ap *appletPlugins) AddPlugin(peerid string, id plugins.PluginID, bus event
|
||||||
pluginsinf, _ := ap.plugins.Load(peerid)
|
pluginsinf, _ := ap.plugins.Load(peerid)
|
||||||
peerPlugins := pluginsinf.([]plugins.Plugin)
|
peerPlugins := pluginsinf.([]plugins.Plugin)
|
||||||
|
|
||||||
newp,err := plugins.Get(id, bus, acn, peerid)
|
newp, err := plugins.Get(id, bus, acn, peerid)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
newp.Start()
|
newp.Start()
|
||||||
peerPlugins = append(peerPlugins, newp)
|
peerPlugins = append(peerPlugins, newp)
|
||||||
|
|
|
@ -117,7 +117,6 @@ func TestManifestLarge(t *testing.T) {
|
||||||
t.Fatalf("could not store chunk %v %v", i, err)
|
t.Fatalf("could not store chunk %v %v", i, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Attempt to store the chunk in an invalid position...
|
// Attempt to store the chunk in an invalid position...
|
||||||
_, err = cwtchPngOutManifest.StoreChunk(uint64(i+1), contents)
|
_, err = cwtchPngOutManifest.StoreChunk(uint64(i+1), contents)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|
|
@ -10,8 +10,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const profileFilename = "profile"
|
const profileFilename = "profile"
|
||||||
const version = "1"
|
|
||||||
const versionFile = "VERSION"
|
|
||||||
const saltFile = "SALT"
|
const saltFile = "SALT"
|
||||||
|
|
||||||
//ProfileStoreV1 storage for profiles and message streams that uses in memory key and fs stored salt instead of in memory password
|
//ProfileStoreV1 storage for profiles and message streams that uses in memory key and fs stored salt instead of in memory password
|
||||||
|
|
Loading…
Reference in New Issue