Skip to content

Commit 6cdf356

Browse files
authored
Merge pull request #14595: Update stringSlice to impl pkg.go.dev/flag#Getter.Get
Update stringSlice to impl pkg.go.dev/flag#Getter.Get
2 parents 9ab200c + 19e662d commit 6cdf356

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sdks/go/pkg/beam/options/jobopts/stringSlice.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ func (s *stringSlice) Set(value string) error {
4242
*s = append(*s, value)
4343
return nil
4444
}
45+
46+
// Get returns the instance itself.
47+
func (s stringSlice) Get() interface{} {
48+
return s
49+
}

0 commit comments

Comments
 (0)