Skip to content

Commit 8fcb65d

Browse files
authored
Update supportbundle_types.go
Alter comment for the additional `uri` field into one single sentence.
1 parent b2c3280 commit 8fcb65d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/apis/troubleshoot/v1beta2/supportbundle_types.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ type SupportBundleSpec struct {
2727
HostCollectors []*HostCollect `json:"hostCollectors,omitempty" yaml:"hostCollectors,omitempty"`
2828
Analyzers []*Analyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
2929
HostAnalyzers []*HostAnalyze `json:"hostAnalyzers,omitempty" yaml:"hostAnalyzers,omitempty"`
30-
// Uri defines the location of the spec file that needs to be used. This is optional and can be
31-
// either a secret, url or spec yaml file.
32-
// When presented with a spec document that contains a URI, if that spec is one of the specs provided
33-
// on the command line or initial call to Troubleshoot, attempt to collect a replacement spec from that URI.
34-
// If successful, it will replace the entire spec with the one downloaded.
35-
// If unsuccessful, log the error and use the spec provided.
30+
// URI optionally defines a location which is the source of this spec to allow updating of the spec at runtime
3631
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
3732
}
3833

0 commit comments

Comments
 (0)