Skip to content

Commit e266901

Browse files
committed
feat: set ip address to agent
1 parent 81d26dd commit e266901

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

frontend/src/app/shared/components/utm/util/utm-agent-detail/utm-agent-detail.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,8 @@ export class UtmAgentDetailComponent implements OnInit {
5252
changeIp(event: string) {
5353
this.loading = true;
5454
const agent = {
55-
id: this.agent.id,
5655
hostname: this.agent.hostname,
5756
ip: this.agentIp,
58-
mac: this.macs.length > 0 ? this.macs[0] : '',
59-
agentKey: this.agent.agentKey
6057
};
6158

6259
this.agentManagerService.updateAgent(agent)

0 commit comments

Comments
 (0)