MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / doNotNeedSync

Function doNotNeedSync

agent/app/service/app_utils.go:1519–1522  ·  view source on GitHub ↗
(installed model.AppInstall)

Source from the content-addressed store, hash-verified

1517}
1518
1519func doNotNeedSync(installed model.AppInstall) bool {
1520 return installed.Status == constant.StatusInstalling || installed.Status == constant.StatusRebuilding || installed.Status == constant.StatusUpgrading ||
1521 installed.Status == constant.StatusSyncing || installed.Status == constant.StatusUninstalling || installed.Status == constant.StatusInstallErr
1522}
1523
1524func synAppInstall(containers map[string]container.Summary, appInstall *model.AppInstall, force bool) {
1525 oldStatus := appInstall.Status

Callers 2

syncAgentAppInstallsFunction · 0.85
handleInstalledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected