Fix server public key assignment and rename Wipe() to WipeFolder()
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ func (id *Identity) CreateFolder() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (id *Identity) Wipe() error {
|
||||
func (id *Identity) WipeFolder() error {
|
||||
err := os.RemoveAll(filepath.Join(GetConfig().StoragePath, id.Uuid))
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user