pulumi/pkg/backend
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
..
display Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
filestate Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
httpstate pkg: Drop unnecessary printfs 2023-01-13 12:41:56 -08:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go cli/update: Move experimental option to bottom 2023-01-06 14:12:41 -08:00
backend.go Qualify name 2022-11-29 14:07:20 -08:00
backend_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go Move default secret manager to stack (#10423) 2022-08-18 15:31:34 +01:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
snapshot.go Move over some env vars to the new lib 2022-12-15 15:46:39 +01:00
snapshot_test.go Move over some env vars to the new lib 2022-12-15 15:46:39 +01:00
stack.go Move default secret manager to stack (#10423) 2022-08-18 15:31:34 +01:00
updates.go Send update metadata about update plans 2022-10-12 22:55:59 +01:00
watch.go fix: Allow watch on macOS on Apple Silicon (#10605) 2022-09-02 10:38:39 -07:00