Skip to content

Commit

Permalink
Fix example for SyncPluginsForTarget in the function godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
anujc25 committed Aug 18, 2023
1 parent fb8c932 commit 4bef7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/sync_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func runCommand(commandPath string, args []string, opts *cmdOptions) (bytes.Buff
//
// var outBuf bytes.Buffer
// var errBuf bytes.Buffer
// SyncPluginsForTarget(types.TargetK8s, WithOutputWriter(outBuf), WithErrorWriter(errBuf))
// SyncPluginsForTarget(types.TargetK8s, WithOutputWriter(&outBuf), WithErrorWriter(&errBuf))
func SyncPluginsForTarget(target types.Target, opts ...CommandOptions) (string, error) {
// For now, the implementation expects env var TANZU_BIN to be set and
// pointing to the core CLI binary used to invoke the plugin sync with.
Expand Down

0 comments on commit 4bef7d9

Please sign in to comment.