Apply linter autofixes: internal/snapshot (refs #61)
This commit is contained in:
1 parent
bec964fc20
commit
1e05fa0dd7
11 files changed
+452
-97
No files matched your search
@@ -36,5 +36,6 @@ const remoteKeyPrefix = "vaultik|"
|
||||
func RemoteSnapshotKey(snapshotID string) string {
|
||||
first := sha256.Sum256([]byte(remoteKeyPrefix + snapshotID))
|
||||
second := sha256.Sum256(first[:])
|
||||
|
||||
return hex.EncodeToString(second[:])
|
||||
}
|
||||
Reference in new issue
Block a user