fix: desktop-self token missing ArtifactPath — stageClosureArtifact requires it
This commit is contained in:
parent
b2319e15ed
commit
937b3a5b6d
2 changed files with 5 additions and 4 deletions
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
|
|
@ -72,10 +72,11 @@ func (h *AgentUpdateHandler) mintDesktopSelfToken(agentID uuid.UUID, version str
|
|||
}
|
||||
|
||||
closure := []capability.ClosureEntry{{
|
||||
Name: "redflag-desktop",
|
||||
Version: version,
|
||||
SHA256: desktopPkg.Checksum,
|
||||
Source: "desktop-self",
|
||||
Name: "redflag-desktop",
|
||||
Version: version,
|
||||
SHA256: desktopPkg.Checksum,
|
||||
Source: "desktop-self",
|
||||
ArtifactPath: fmt.Sprintf("/api/v1/downloads/updates/%s", desktopPkg.ID),
|
||||
}}
|
||||
|
||||
now := time.Now().UTC()
|
||||
|
|
|
|||
Loading…
Reference in a new issue