Skip to content

Commit

Permalink
lxd/migration: Add comments for exported variables for linter
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolton <mark.bolton@canonical.com>
  • Loading branch information
boltmark committed Aug 23, 2024
1 parent 4e0eb0f commit dc91860
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lxd/migration/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,12 @@ const (
)

var (
// ErrNoLiveMigrationSource indicates that CRIU is not installed on the source.
ErrNoLiveMigrationSource = fmt.Errorf("%s CRIU isn't installed on the source server. %s on the source server", unableToLiveMigrate, toMigrateLive)

// ErrNoLiveMigrationTarget indicates that CRIU is not installed on the target.
ErrNoLiveMigrationTarget = fmt.Errorf("%s CRIU isn't installed on the target server. %s on the target server", unableToLiveMigrate, toMigrateLive)
ErrNoLiveMigration = fmt.Errorf("%s CRIU isn't installed. %s", unableToLiveMigrate, toMigrateLive)

// ErrNoLiveMigration indicates that CRIU is not installed.
ErrNoLiveMigration = fmt.Errorf("%s CRIU isn't installed. %s", unableToLiveMigrate, toMigrateLive)
)

0 comments on commit dc91860

Please sign in to comment.