From ecf15e40aaed6e07f61e8d625f79bf5d8c580e1c Mon Sep 17 00:00:00 2001 From: Louis Garman Date: Sun, 30 Oct 2022 17:25:02 +0000 Subject: [PATCH] Consistently use lowercase otf throughout --- ALGORITHMS.md | 6 +++--- README.md | 4 ++-- environment.go | 2 +- events.go | 2 +- hack/create_and_upload_configuration_version.bash | 2 +- http/html/app.go | 4 ++-- http/html/error.go | 2 +- http/html/html.go | 2 +- http/html/static/templates/layout.tmpl | 4 ++-- http/html/view_engine.go | 2 +- otf.go | 10 +++++----- user.go | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ALGORITHMS.md b/ALGORITHMS.md index 87da07444..40ee29ee6 100644 --- a/ALGORITHMS.md +++ b/ALGORITHMS.md @@ -1,12 +1,12 @@ # Concepts -Notes on various concepts in use by TFE/TFC/oTF. +Notes on various concepts in use by TFE/TFC/otf. ## Run Status/State https://www.terraform.io/cloud-docs/api-docs/run#run-states -A run begins life in the `pending` state. The next state (in oTF) is `plan_queued`, indicating it's ready to enter the plan phase and that it's currently waiting in the global queue (see below). A run is switched from `pending` to `plan_queued` if: +A run begins life in the `pending` state. The next state (in otf) is `plan_queued`, indicating it's ready to enter the plan phase and that it's currently waiting in the global queue (see below). A run is switched from `pending` to `plan_queued` if: * it's reached the front of the workspace queue (see below) * it's a speculative run (i.e. plan-only) in which case the switch occurs immediately @@ -31,7 +31,7 @@ Note: the workspace queue is a queue of *runs* whereas the global queue is a que ## Agents -Note: this only applies to oTF. +Note: this only applies to otf. Agents execute run phases i.e. plans and applies. diff --git a/README.md b/README.md index 398d37da9..36bf39b80 100644 --- a/README.md +++ b/README.md @@ -97,13 +97,13 @@ These steps will get you started with running everything on your local system. Y sudo update-ca-certificates ``` -1. Ensure you have access to a postgresql server. oTF assumes it's running locally on a unix domain socket in `/var/run/postgresql`. Create a database named `otf`: +1. Ensure you have access to a postgresql server. otf assumes it's running locally on a unix domain socket in `/var/run/postgresql`. Create a database named `otf`: ```bash createdb otfd ``` -1. Run the oTF daemon: +1. Run the otf daemon: ```bash otfd --ssl --cert-file=cert.crt --key-file=key.pem diff --git a/environment.go b/environment.go index 089a430f3..a081a64ec 100644 --- a/environment.go +++ b/environment.go @@ -5,7 +5,7 @@ import ( "io" ) -// Environment provides a Job with access to various oTF services, a working +// Environment provides a Job with access to various otf services, a working // directory, and the ability to invoke arbitrary commands and go functions. // Invoking commands and functions via the environment means the environment can // handle canceling them if necessary. diff --git a/events.go b/events.go index f2e0cdd70..246daab86 100644 --- a/events.go +++ b/events.go @@ -23,7 +23,7 @@ const ( // EventType identifies the type of event type EventType string -// Event represents an event in the lifecycle of an oTF resource +// Event represents an event in the lifecycle of an otf resource type Event struct { Type EventType Payload interface{} diff --git a/hack/create_and_upload_configuration_version.bash b/hack/create_and_upload_configuration_version.bash index 464569378..72dbbeba5 100755 --- a/hack/create_and_upload_configuration_version.bash +++ b/hack/create_and_upload_configuration_version.bash @@ -16,7 +16,7 @@ then exit 1 fi -# oTF API doesn't yet verify tokens +# otf API doesn't yet verify tokens TOKEN=dummy HOST=localhost:8080 diff --git a/http/html/app.go b/http/html/app.go index aa304bb2e..f8fbf7f27 100644 --- a/http/html/app.go +++ b/http/html/app.go @@ -31,11 +31,11 @@ func NewConfigFromFlags(flags *pflag.FlagSet) *Config { return &cfg } -// Application is the oTF web app. +// Application is the otf web app. type Application struct { // Static asset server staticServer http.FileSystem - // oTF service accessors + // otf service accessors otf.Application // path prefix for all URLs pathPrefix string diff --git a/http/html/error.go b/http/html/error.go index 014d17a50..0b55200bf 100644 --- a/http/html/error.go +++ b/http/html/error.go @@ -11,7 +11,7 @@ const errorTemplateContent = ` - error | oTF + error | otf