Skip to content

Commit 394c764

Browse files
committed
improved the comment
1 parent 09042ae commit 394c764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/ssh_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ func GetDeployKeyByRepo(keyID, repoID int64) (*DeployKey, error) {
736736
return key, nil
737737
}
738738

739-
// UpdateDeployKeyCols updates deploy key information only columns.
739+
// UpdateDeployKeyCols updates deploy key information in the specified columns.
740740
func UpdateDeployKeyCols(key *DeployKey, cols ...string) error {
741741
_, err := x.ID(key.ID).Cols(cols...).Update(key)
742742
return err

0 commit comments

Comments
 (0)