Skip to content

Commit

Permalink
change for issue mesos#587
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Brandt committed Nov 4, 2016
1 parent 30a5441 commit 68b7799
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ Protos.Credential.Builder getBuilder() {
credentialBuilder.setPrincipal(principal);
try {
ByteString bytes = ByteString.readFrom(new FileInputStream(secretFilePath));
credentialBuilder.setSecret(bytes);
credentialBuilder.setSecretBytes(bytes);
} catch (IOException cause) {
LOGGER.error("Error reading authentication secret from file: " + secretFilePath, cause);
}
}
return credentialBuilder;
}
}
}

0 comments on commit 68b7799

Please sign in to comment.