pulumi/pkg/backend/httpstate
Abhinav Gupta 9995a9927a
pkg: Drop unnecessary printfs
A couple places in pkg/ use Printf without any arguments.
These cases can use the input strings as-is instead.
Switch to either the Print variant, or io.WriteString.

Issues found by staticcheck:

```
backend/httpstate/backend.go:1627:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
backend/httpstate/backend.go:1644:5: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/go/gen.go:2260:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/nodejs/gen.go:1088:3: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/python/gen.go:1861:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/python/gen.go:436:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
```

Refs #11808
2023-01-13 12:41:56 -08:00
..
client all: Drop ioutil 2023-01-06 16:35:14 -08:00
testdata Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
backend.go pkg: Drop unnecessary printfs 2023-01-13 12:41:56 -08:00
backend_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
diffs.go Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
policypack.go all: Drop ioutil 2023-01-06 16:35:14 -08:00
snapshot.go Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
snapshot_test.go all: Drop ioutil 2023-01-06 16:35:14 -08:00
stack.go Pull NewServiceSecretsManager out of httpstate 2023-01-04 23:04:30 +00:00
state.go Add getOrganization to nodejs and python (#10504) 2022-08-31 10:33:29 +01:00
token_source.go Support PULUMI_OPTIMIZED_CHECKPOINT_PATCH protocol 2022-10-12 12:29:05 -04:00
token_source_test.go Disable token_source_test on windows (#10557) 2022-09-01 01:30:52 +02:00