Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit ee0f218

Browse files
committed
Rephrase comment per feedback on PR
1 parent 3133927 commit ee0f218

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/kssh/config.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ func LoadConfig(kbfsFilename string) (ConfigFile, error) {
101101
}
102102

103103
// A LocalConfigFile is a file that lives on the FS of the computer running kssh. It is only used if the user is
104-
// in multiple teams that are running the CA bot and they set a default bot via `kssh --set-default-bot foo`
105-
// Note that we store the team in here (even though it wasn't specified by the user) so that we can avoid doing a
106-
// a call to `LoadConfigs` if a default is set (since `LoadConfigs can be very slow if the user is in a large number
107-
// of teams).
104+
// in multiple teams that are running the CA bot. Note that we store the team in here (even though it wasn't specified
105+
// by the user) so that we can avoid doing a call to `LoadConfigs` if a default is set (since `LoadConfigs can be very
106+
// slow if the user is in a large number of teams).
107+
//
108+
// Controlled via `kssh --set-default-bot foo`.
108109
type LocalConfigFile struct {
109110
DefaultBotName string `json:"default_bot"`
110111
DefaultBotTeam string `json:"default_team"`

0 commit comments

Comments
 (0)