Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
patnebe committed Jan 8, 2025
1 parent 3d86ae0 commit ceb4f20
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lightswitch-metadata/src/metadata_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ pub enum TaskMetadataProviderError {
}

pub trait TaskMetadataProvider {
/// Return a vector of labels that apply to
/// the provided task_key.
/// Return a vector of labels that apply to the provided task_key.
fn get_metadata(
&self,
task_key: TaskKey,
Expand All @@ -45,8 +44,7 @@ pub enum SystemMetadataProviderError {
ErrorRetrievingMetadata(String),
}
pub trait SystemMetadataProvider {
/// Return a vector of labels that apply to the
/// current host system.
/// Return a vector of labels that apply to the current host system.
fn get_metadata(&self) -> Result<Vec<MetadataLabel>, SystemMetadataProviderError>;
}

Expand Down

0 comments on commit ceb4f20

Please sign in to comment.