cleanup
This commit is contained in:
+1
-1
@@ -286,7 +286,7 @@ def testOcisModule(ctx, module):
|
||||
'volumes': [stepVolumeGoWebhippie,],
|
||||
},
|
||||
{
|
||||
'name': 'coverage-cache',
|
||||
'name': 'scan-result-cache',
|
||||
'image': 'plugins/s3:1',
|
||||
'settings': {
|
||||
'endpoint': {
|
||||
|
||||
@@ -11,7 +11,11 @@ geekdocFilePath: build-docs.md
|
||||
|
||||
## Build the documentation
|
||||
|
||||
Just run `make -C docs docs-serve` from within the root level of the oCIS git repository.
|
||||
{{< hint info >}}
|
||||
For building the documentation you need to have Make and Go 1.14 or higher installed.
|
||||
{{< /hint >}}
|
||||
|
||||
Just run `make -C docs docs-serve` from within the root level of the oCIS git repository. This will make documentation available on [localhost:1313](http://localhost:1313) and also do a hot reload if you change something in the (non autogenerated) documentation files.
|
||||
|
||||
## Add changes to the documentation
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"crypto/md5"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"io/ioutil"
|
||||
@@ -113,8 +112,6 @@ func (s *FileSystem) storeImage(key string, img []byte) (string, error) {
|
||||
// <filestorage-root>/users/<3 characters>/<3 characters>/<48 characters>/
|
||||
// This will balance the folders in setups with many users.
|
||||
func (s *FileSystem) userDir(username string) string {
|
||||
mh := md5.New()
|
||||
mh.Write([]byte("something"))
|
||||
|
||||
hash := sha256.New224()
|
||||
if _, err := hash.Write([]byte(username)); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user