Skip to content

Commit

Permalink
Modify the function name from BackendSource to CredentialSource
Browse files Browse the repository at this point in the history
Signed-off-by: Guijie Wang <[email protected]>
  • Loading branch information
Guijie Wang committed Aug 14, 2023
1 parent adf6fe2 commit 7616702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/daemon_adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (m *Manager) BuildDaemonCommand(d *daemon.Daemon, bin string, upgrade bool)
command.WithConfig(configFilePath),
command.WithBootstrap(bootstrap),
)
if config.IsBackendSourceEnabled() {
if config.IsCredentialSourceEnabled() {
configApiPath := fmt.Sprintf(endpointGetBackendConfig, d.States.ID)
cmdOpts = append(cmdOpts,
command.WithBackendSource(config.SystemControllerAddress() + configApiPath),
Expand Down

0 comments on commit 7616702

Please sign in to comment.