You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[POA-1415] Re-enable support for EC2 commands (#20)
In this PR, we are re-enabling support for EC2 in our agent.
Changes done:
* Replaced `--collection` flag with `--project` in EC2 command
* Added a base`ec2` command since the `setup` command can be confusing.
* So `postman-insights-agent setup ...` -> `postman-insights-agent ec2
setup ...`
* Only `ec2` command also defaults to `ec2 setup`
* Moved the `CheckAPIKeyAndInsightsProjectID` function out from `ecs.go`
to `check.go`
* Other small syntactic or typo changes
returnerrors.Errorf("The systemctl is-enabled command produced output this tool doesn't recognize: %q.\nPlease send this log message to %s for assistance\n", string(out), consts.SupportEmail)
128
+
returnerrors.Errorf("The systemctl is-enabled command produced output the agent doesn't recognize: %q.\nPlease send this log message to %s for assistance\n", string(out), consts.SupportEmail)
0 commit comments