Skip to content

Commit

Permalink
fix agimonitor with new s3 path checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Aug 1, 2024
1 parent 9bc2331 commit 10d275d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmdAgiMonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ func (c *agiMonitorListenCmd) handleCapacity(uuid string, event *ingest.NotifyEv
a.opts.AGI.Create.Gcp.SpotInstance = false
a.opts.AGI.Create.uploadAuthorizedContentsGzB64 = event.SSHAuthorizedKeysFileGzB64
a.opts.AGI.Create.SftpSkipCheck = true
a.opts.AGI.Create.S3SkipCheck = true
err = a.opts.AGI.Create.Execute(nil)
a.opts.AGI.Create.uploadAuthorizedContentsGzB64 = ""
if err != nil {
Expand Down Expand Up @@ -710,6 +711,7 @@ func (c *agiMonitorListenCmd) handleSizingRAMDo(uuid string, event *ingest.Notif
}
a.opts.AGI.Create.uploadAuthorizedContentsGzB64 = event.SSHAuthorizedKeysFileGzB64
a.opts.AGI.Create.SftpSkipCheck = true
a.opts.AGI.Create.S3SkipCheck = true
err = a.opts.AGI.Create.Execute(nil)
a.opts.AGI.Create.uploadAuthorizedContentsGzB64 = ""
if err != nil {
Expand Down

0 comments on commit 10d275d

Please sign in to comment.