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
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,22 @@ The `dynatrace-bootstrapper` is a small CLI binary built into a [Dynatrace CodeM
97
97
- This is an **optional** arg
98
98
- The `--attribute-container` arg defines the passed in Container attributes that will be used to configure the metadata-enrichment and injected CodeModule. It is a JSON formatted string.
99
99
100
+
#### `--suppress-error`
101
+
102
+
*Example*: `--suppress-error`
103
+
104
+
- This is an **optional** arg
105
+
- Defaults to `false`
106
+
- The `--suppress-error` arg will silence any errors, causing the executable to return with an exit code 0 even if an error occurred. Intended purpose is to not block the application container from starting, if used as init-container.
Copy file name to clipboardExpand all lines: pkg/move/cmd.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ import (
7
7
)
8
8
9
9
const (
10
-
workFolderFlag="work"
11
-
technologyFlag="technology"
10
+
WorkFolderFlag="work"
11
+
TechnologyFlag="technology"
12
12
)
13
13
14
14
var (
@@ -17,9 +17,9 @@ var (
17
17
)
18
18
19
19
funcAddFlags(cmd*cobra.Command) {
20
-
cmd.PersistentFlags().StringVar(&workFolder, workFolderFlag, "", "(Optional) Base path for a tmp folder, this is where the command will do its work, to make sure the operations are atomic. It must be on the same disk as the target folder.")
20
+
cmd.PersistentFlags().StringVar(&workFolder, WorkFolderFlag, "", "(Optional) Base path for a tmp folder, this is where the command will do its work, to make sure the operations are atomic. It must be on the same disk as the target folder.")
21
21
22
-
cmd.PersistentFlags().StringVar(&technology, technologyFlag, "", "(Optional) Comma-separated list of technologies to filter files.")
22
+
cmd.PersistentFlags().StringVar(&technology, TechnologyFlag, "", "(Optional) Comma-separated list of technologies to filter files.")
0 commit comments