클라이언트에서는 태그를 없애고 서버에서만 관리
This commit is contained in:
@ -148,12 +148,9 @@ func gatherDeployedPrograms(storageRoot, name string) []*protos.VersionAndArgs {
|
||||
for _, ver := range vers {
|
||||
if ver.IsDir() {
|
||||
args := lastExecutionArgs(path.Join(targetPath, ver.Name()))
|
||||
tag, _ := os.ReadFile(path.Join(targetPath, ver.Name(), "@tags"))
|
||||
|
||||
rawvers = append(rawvers, &protos.VersionAndArgs{
|
||||
Version: ver.Name(),
|
||||
Args: args,
|
||||
Tag: string(tag),
|
||||
})
|
||||
}
|
||||
}
|
||||
@ -190,7 +187,7 @@ func (hc *houstonClient) makeOperationQueryRequest() *protos.OperationQueryReque
|
||||
deploys = append(deploys, &protos.DeployedVersions{
|
||||
Name: selfname,
|
||||
Versions: []*protos.VersionAndArgs{
|
||||
{Version: hc.version, Args: selfargs, Tag: "#readonly"},
|
||||
{Version: hc.version, Args: selfargs},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user