From b1759291b4ba09f4f06b534756661047f2c27122 Mon Sep 17 00:00:00 2001 From: James Wells Date: Mon, 6 Mar 2023 14:59:28 -0800 Subject: [PATCH] feat: minor cleanup. --- README.md | 2 +- assets/tfenv/terraform.tf | 4 ++-- cmd/gagent/main.go | 38 +++++++++++++++++++------------------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 008a767..f5102c5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # G'Agent -[![Maintained Status](https://img.shields.io/maintenance/yes/2021?style=plastic)](https://github.com/dragonheim/gagent) +[![Maintained Status](https://img.shields.io/maintenance/yes/2023?style=plastic)](https://github.com/dragonheim/gagent) [![License](https://img.shields.io/badge/License-MIT-limegreen.svg)](https://github.com/dragonheim/gagent/src/branch/main/LICENSE) [![Build Status](https://drone.dragonheim.net/api/badges/dragonheim/gagent/status.svg)](https://drone.dragonheim.net/dragonheim/gagent) diff --git a/assets/tfenv/terraform.tf b/assets/tfenv/terraform.tf index bb7904b..4bb9e5c 100644 --- a/assets/tfenv/terraform.tf +++ b/assets/tfenv/terraform.tf @@ -1,9 +1,9 @@ terraform { - required_version = ">= 1.1.7" + required_version = ">= 1.3.1" required_providers { aws = { source = "hashicorp/aws" - version = "~> 4.5.0" + version = "~> 4.56.0" } } } diff --git a/cmd/gagent/main.go b/cmd/gagent/main.go index 379d78a..0b118da 100644 --- a/cmd/gagent/main.go +++ b/cmd/gagent/main.go @@ -194,33 +194,33 @@ func init() { * and available arguments / options. Documentation is available at; * http://docopt.org/ */ - usage := "G'Agents \n" + usage := "G'Agents\n" usage += "\n" - usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents \n" - usage += " system created by Robert S. Gray of Dartmouth college. \n" + usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents\n" + usage += " system created by Robert S. Gray of Dartmouth college.\n" usage += "\n" - usage += "Usage: \n" - usage += " gagent client (pull|push) [--config=] [--agent=] \n" - usage += " gagent router [--config=] \n" - usage += " gagent worker [--config=] \n" - usage += " gagent setup [--config=] \n" - usage += " gagent --version \n" + usage += "Usage:\n" + usage += " gagent client (pull|push) [--config=] [--agent=]\n" + usage += " gagent router [--config=]\n" + usage += " gagent worker [--config=]\n" + usage += " gagent setup [--config=]\n" + usage += " gagent --version\n" usage += "\n" - usage += "Arguments: \n" - usage += " client pull -- Start as a G'Agent client to pull agent results \n" - usage += " client push -- Start as a G'Agent client to push agent \n" - usage += " router -- Start as a G'Agent router \n" - usage += " worker -- Start as a G'Agent worker \n" - usage += " setup -- Write initial configuration file \n" + usage += "Arguments:\n" + usage += " client pull -- Start as a G'Agent client to pull agent results\n" + usage += " client push -- Start as a G'Agent client to push agent\n" + usage += " router -- Start as a G'Agent router\n" + usage += " worker -- Start as a G'Agent worker\n" + usage += " setup -- Write initial configuration file\n" usage += "\n" usage += "Options:\n" - usage += " -h --help -- Show this help screen and exit \n" - usage += " --version -- Show version and exit \n" - usage += " --config= -- [default: /etc/gagent/gagent.hcl] \n" - usage += " --agent= -- filename of the agent to be uploaded to the G'Agent network. Required in push mode \n" + usage += " -h --help -- Show this help screen and exit\n" + usage += " --version -- Show version and exit\n" + usage += " --config= -- [default: /etc/gagent/gagent.hcl]\n" + usage += " --agent= -- filename of the agent to be uploaded to the G'Agent network. Required in push mode\n" usage += "\n" /*