Add {packs,results} to minio store artifact names
This commit is contained in:
committed by
=Michael Hohn
parent
8577e1775a
commit
0115e74d07
@@ -39,7 +39,7 @@ func (store *InMemoryArtifactStore) SaveQueryPack(sessionId int, data []byte) (A
|
||||
store.mu.Lock()
|
||||
defer store.mu.Unlock()
|
||||
|
||||
key := fmt.Sprintf("%d", sessionId)
|
||||
key := fmt.Sprintf("%d-packs", sessionId)
|
||||
store.packs[key] = data
|
||||
|
||||
location := ArtifactLocation{
|
||||
@@ -80,7 +80,7 @@ func (store *InMemoryArtifactStore) SaveResult(jobSpec common.JobSpec, data []by
|
||||
store.mu.Lock()
|
||||
defer store.mu.Unlock()
|
||||
|
||||
key := fmt.Sprintf("%d-%s", jobSpec.SessionID, jobSpec.NameWithOwner)
|
||||
key := fmt.Sprintf("%d-results-%s", jobSpec.SessionID, jobSpec.NameWithOwner)
|
||||
store.results[key] = data
|
||||
|
||||
location := ArtifactLocation{
|
||||
|
||||
Reference in New Issue
Block a user